Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Check Numeric
Message
From
07/09/2004 17:42:46
 
 
To
04/09/2004 06:33:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00939224
Message ID:
00940105
Views:
17
>
>#DEFINE allowedChars "0123456789"
>myValue = "111j11"
>? EMPTY(LEN(CHRTRAN(myValue, allowedChars, "")))
>
Isn't the EMPTY(LEN()) a bit redundant?

Just EMPTY(CHRTRAN(myValue, allowedChars, "")) should be sufficient.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform