Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Verifying for upper
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00584529
Message ID:
00584645
Views:
30
>>>>>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.
>
>In this case it doesn't make any difference because we're comparing strings of the same length..

oups!

You are right :-)
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
Reply
Map
View

Click here to load this message in the networking platform