Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check Numeric
Message
De
07/09/2004 17:42:46
 
 
À
04/09/2004 06:33:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00939224
Message ID:
00940105
Vues:
18
>
>#DEFINE allowedChars "0123456789"
>myValue = "111j11"
>? EMPTY(LEN(CHRTRAN(myValue, allowedChars, "")))
>
Isn't the EMPTY(LEN()) a bit redundant?

Just EMPTY(CHRTRAN(myValue, allowedChars, "")) should be sufficient.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform