General information
Category:
Coding, syntax & commands
>Hi Timothy.
>
>>> 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 << >
>IF CHRTRAN( dumbVar, '0123456789', '' ) == dumbVar
> *** There are no numeric characters in the string
>
Simple, but fast. And no messy loops!
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only