469,930 Members | 1,749 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,930 developers. It's quick & easy.

delete all non-unique values from array

how can i ensure that an array consists of only unique values?

in one of my subroutines i generate an array with a list of search strings, and i want to show all search strings that didn't generate any hit. so when a search for a file with the specified name fails, the name is stored in an array.

however, in most cases each string is used many times in different locations, and i only want to show each string once. how can i migrate the strings from the array where everything is stored to one where every name is stored only once?

Nov 9 '07 #1
0 970

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

21 posts views Thread by Jakob Bieling | last post: by
5 posts views Thread by mandatory | last post: by
2 posts views Thread by Dave | last post: by
9 posts views Thread by groleo | last post: by
15 posts views Thread by Dilip | last post: by
31 posts views Thread by Anamika | last post: by
15 posts views Thread by LuB | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.