Re: find/match not working
- Posted by don cole <doncole at pacbell.net> Aug 18, 2004
- 473 views
Kat wrote: > > I have a list of urls, contained in urllist like: > urllist[1], urllist[2]..urllist[x] > > and i tried eliminating duplicates before they are added, by using find, which > > didn't work. Now i am using > I have a list of urls, contained in urllist like: urllist[1], urllist[2]..urllist[x] and i tried eliminating duplicates before they are added, by using find, which didn't work. Now i am using > > Kat > > Compile your complete list duplicates and all. Don't worry if they are added. Then eliminate all duplicates with:
function clean_dups(list) integer a sequence found for x=1 to length(list) do a=find(list[x],found) if a=0 then found=append(found,list[x]) end if end for return found end function
It might take longer but will work. don cole SF