Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verifying for upper
Message
 
To
21/11/2001 11:37:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00584529
Message ID:
00584637
Views:
21
>>>What would be the fastest way to verify for all upper casing characters within a string? For example, I would like to detect when that happens "THISISMYTEST" but not this "THISISMyTest".
>>
>>
lcStr = "THISISMyTest"
>>IF lcStr = UPPER(lcStr )
>>  * Uppercase
>>ENDIF
>>
>
>For a while, I thought it was more complicated than what is is. <s>

Use the double == for this test...
It will work on all SET EXACT settings.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform