Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check Numeric
Message
De
08/09/2004 04:09:21
 
 
À
07/09/2004 17:42:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00939224
Message ID:
00940197
Vues:
13

Isn't the EMPTY(LEN()) a bit redundant?

Just EMPTY(CHRTRAN(myValue, allowedChars, "")) should be sufficient.


No.

EMPTY() return .t. for:

The empty string,
spaces,
tabs,
carriage returns,
linefeeds,
or any combination of these.


then for allowedChars = '0123456789', spaces,tabs... are not allowed.

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform