>I find string handling routines one of the most difficult things about the foxpro language syntax. I always go to the "ST" in the reference and find very little on functions/routines on strings. Does someone have a cheatsheat?
>
>Anyway, I have a filename with a path and want to know if the file is an *.dbf. should not be difficult, but i have not been able to do it.
>
>c:\something\somethingelse\data.dbf
cstr = 'c:\something\somethingelse\data.dbf'
ldbf = IIF(UPPER(SUBSTR(cStr,AT('.',cstr)+1,3))='DBF',.T.,.F.)
?ldbf
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net
CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."