Re: find/match not working [disregard last message]
- Posted by don cole <doncole at pacbell.net> Aug 19, 2004
- 605 views
Kat wrote: > > On 18 Aug 2004, at 23:42, Pete Lomax wrote: > > > > > On Wed, 18 Aug 2004 10:59:00 -0500, Kat <gertie at visionsix.com> wrote: > > > > >> > and i tried eliminating duplicates before they are added, by using > > >> > find, > > >> > which didn't work. > > > > >There's no duplicates in the original list. > > Eh? > > > The original list is : > > {"something.com"} > > No duplicate entries in it that i can see. The problem has arisen in *adding* > to the list, not in the original list. > > Kat > > My solution is : </eucode> {{{ mainlist="something.com" newlist=append(mainlist,"I_don't_know_if_this_is_a_duplicate_or_not.com") mainlist=check_for_dups(newlist)--I posted this function a while back. </eucode> {{{ If it is a duplicate then it will be weeded out buy the function. If not I stays in. don cole SF