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:
00400225
Views:
33
>>IF ".DBF" $ UPPER(RIGHT(ALLTRIM(mystring),4))
>> ***
>>ENDIF
>
>IMHO, JustExt() would be better. It is easier to read and is a single function. It's very clear as to what the code is doing. Although it's about half as fast as what you posted.
>
>my $.02 :)

I agree.. I was just putting MY $.02 (Canadian, which is even less :))
Previous
Reply
Map
View

Click here to load this message in the networking platform