Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to remove ( and - from phone number
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00998428
Message ID:
00998467
Vues:
35
>Thanks - that function got me looking in the right place. I ended up using CHRTRAN because it allowed me to replace multiple characters at once. I couldn't figure out (quickly) how to do that with STRTRAN.
>
>Thanks again,
>Doug


Based on Mark's answer:
newphone = TRANSFORM(CHRTRAN(oldphone, CHRTRAN(oldphone,"0123456789",""),""),"@R 999-999-9999")
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform