Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String to number
Message
From
10/08/2000 03:26:54
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00403111
Message ID:
00403279
Views:
12
>I'm importing some phone numbers that are in several formats. Is there a command to strip off any non numeric characters from a string?
>
>Thanks
>
>Pat Murphy


lcNumber = '+90 (232) 278-50-83 Cetin direct'
? chrtran(lcNumber,chrtran(lcNumber,'0123456789',''),'')
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform