Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check if a character expression is all digits
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00826497
Message ID:
00826501
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform