Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell if file string is and .dbf?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00398179
Message ID:
00398249
Views:
35
>>Brenda, in addition to what George says you can use
>>IF ".DBF" $ UPPER(mystring)
>>***
>>ENDIF
>
>Nick,
>
>You could have a folder name with .dbf in it. ie 'c:\some.dbf.folder\data.txt' would return .T.
>
>hth

IF ".DBF" $ UPPER(RIGHT(ALLTRIM(mystring),4))
***
ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform