Hi,

I have 2 arrays of strings.

Dim str1(1 to 10), str2(1 to 10) as String
I get str1 filled up using external program. I am filling up those here manually.

str(1)="Laptop"
str(2)="MP3 Player"
str(3)="MP3 Player"
str(4)="Ipod"
str(5)="Ipod"
str(6)="Ipod"
str(7)="Ipod"
str(8)="GPS"
str(9)="TV"
str(10)=""
The aim of the program is to get unique names.
Hence the output will be.

str2(1)="Laptop"
str2(2)="MP3 Player"
str2(3)="Ipod"
str2(4)="GPS"
str2(5)="TV"
str2(6)=""
str2(7)=""
str2(8)=""
str2(9)=""
str2(10)=""
It will be also great to minimize the no. of comparisons as I am dealing with strings of quite a good length.