Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking string for predefined format
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Checking string for predefined format
Miscellaneous
Thread ID:
00403485
Message ID:
00403485
Views:
109
Hi everyone,

For APN I have this format:
999999X-X999999X-X999999XX-XX999999X-XXXXXX,

where 9 is a digit,
X as upper case alpha,
and - is hyphen.

I have an UDF, which determines, is APN valid by inspecting each character. I'm just curious, is there more elegant and simple solution (and should be faster, of course)?

Thanks in advance.
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform