>Hi everybody,
>
>If I have a text file (a program) and want to search for 'VFP2SQL', but not for '.VFP2SQL' (e.g. I want to find occurrences where there is no . before that string), that can I do?
>
>Thanks in advance.
untested
x=0
DO WHILE .T.
x=x+1
y=ATC("VFP2SQL",lcText,x)
DO CASE
CASE y=0
EXIT
CASE y>0 AND SUBSTR(lcText,y-1,1)<>"."
ENDCASE
ENDDO
Brandon Harker
Sebae Data Solutions