Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to parse numbers only from a string?
Message
From
02/12/2002 23:37:53
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00728861
Message ID:
00728882
Views:
18
>I can do it for him, though:
>
>Re: Reformatting Phone Numbers Thread #721264 Message #721325

I've run into another problem. Not all fields may have the area code. So I am checking for length of the values returned. So, if length is less that 10 characters (i.e. 999 999999), then i was trying to use a PadL with zeros, so that I can later parse the area code part and insert that into the area code field.

Problem is that the phone number has been declared as numeric and padL might not work. Any suggestions?

Thanks
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform