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?
-tomas
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?
-tomas