Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding possible values in a string
Message
 
 
À
15/01/2002 14:24:06
Scott Starkey
Tindall Record Storage
Fort Worth, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00605029
Message ID:
00605035
Vues:
18
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform