Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Check if a character expression is all digits
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00826497
Message ID:
00826501
Vues:
24
This message has been marked as the solution to the initial question of the thread.
?empty(chrtran(yourstring,"0123456789",""))

>I need to check if a whole character expression contains nothing but numeric digits. I thought the isdigit() function would do it but I found out that it just checks the leftmost character. Is there any function like isdigit() that checks the whole expression?
>
>Thank you
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform