Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking up non alphabetic characters
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00842325
Message ID:
00842340
Vues:
32
>Is the a command or routine I can use to look at a string to determine if they have any characters that are not A-Z or comma? I am looking for string that may contain things such as "/", "&", etc....
>
lcStr = "Is the a command or routine I can use"
lcLetters = "ABCDEFGHIJKLMNOPQRSTUVWXYZ,"
IF LEN(CHRTRAN(lcStr, lcLetters, "")) = LEN(lcStr)
  *There're no illigal characters in the string
...
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform