• Post Reply Bookmark Topic Watch Topic
  • New Topic

Deleting repeated values in an array  RSS feed

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there a way to delete any repeated values in an array?
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use set instead of array if you don't want duplicates.
the set interface
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!