Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding possible values in a string
Message
 
 
To
15/01/2002 14:24:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00605029
Message ID:
00605035
Views:
22
This message has been marked as the solution to the initial question of the thread.
>Is there a way to evaluate if there is one of several characters in a string?
>cstring = "Update #12/21/01"
>Can I evaulate if there is a "#" or a "/" or a "$"in that string?
IF LEN(cstring) > LEN( CHRTRAN(cstring, "#/$",""))
  * There'are one of more char's "#/$" in the string
ENDIF
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform