Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Some function?
Message
 
 
To
08/10/2002 16:43:42
Fabian Belo
Independent Developer
Argentina
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00709013
Message ID:
00709018
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
You can acomplish that with a couple of functions.
lcStr = "123RTY234"
? LEN(CHRTRAN(lcStr, "1234567890", "")) = 0
>VFP 6.0: Is there any function to display if my string is non numeric?
>ie:
>string: 123RTY234 (non numeric)
>string: FHE1234 (non n)
>string: 121345 (numeric)
>
>IsDigit() look only the first char...
>Val() returns zero if first char. is alphab.
>
>I would like to know if there is any NATIVE FUNCTION, if not.... I have to create one.
>Thanks
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform