compare value in an array
Posted on 2010-11-24
I've stuck on a process which need to compare values in a two dimensional array, to determine how many different unique identities are there in such array. would anybody help me with that?
I am reading data into array through database, and it returns something like this.
counting(1,0) = "Mike"
counting(2,0) = "jack"
counting(8,0) = "Mike" --> theres a duplicate
the size of array varied each time i run the solution. but i managed to have all the names in
counting(i,0). if that helps. any help would be appreciated;)
and eventually i need to create a list of unique Names, so that'll minors the range down to like 10 persons in total.