Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check this validaion?
Message
From
08/07/1999 08:38:11
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
07/07/1999 18:43:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00238591
Message ID:
00238786
Views:
11
>this is valid string because all characters are digits. but if it is
>'12a4' then it is not valid because 'a' inside string is not digit.
>
>I have checked IsAlpha() and IsDigit() functions but i don't think they will be useful here. Please help me how could i check above validation and ensure that it is valid string.

StrFilter() will handle that:

lStringIsOk=lcString==StrFilter(lcString,"0123456789")

This function is available if you

Set Library to FoxTools

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform