Re: Win32Lib Feature Request
- Posted by "C. K. Lester" <cklester at yahoo.com> Jan 23, 2003
- 382 views
On Wednesday 22 January 2003 10:01 pm, you wrote: > > > -- myList =3D {"IADCDAYW.DOT","OTHER.DOT","IADCFOOT.DOT","IADCTURN.DO= T"} > > Strtok-v2-1 can find them using various combinations of matchtok, findt= ok, > or wildntok, matchntok, and retrieve them with gettok,, for instance: > > junk =3D gettok(myList,wildntok(myList,"IADC*",0,""),"") The problem is, I have to retrieve the data from myList (the control) fir= st=20 and put it into a sequence... something like this: for t =3D 1 to getCount( myList ) do =09mySeq =3D append(mySeq, getItem( myList , t ) end for junk =3D gettok( mySeq, wildntok(mySeq,"IADC*",0,""),"") If I want to match "IADC" anywhere in the string, I'm guessing I use "*IA= DC*"=20 right? Thanks, Kat! -ck