Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing for numeric char in a string
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00582918
Message ID:
00582935
Views:
23
>What's the best way to test for the existance of a numeric char in a string? If I had dumbvar='Johnson x4588', I would want to know that there are numbers embedded. -TB
dumbvar='Johnson x4588'
lcNumber = Chrtran( dumbvar, Chrtran( dumbvar, "01234567890", ""), "")
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform