Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to parse a string
Message
De
04/12/2002 20:07:23
 
 
À
04/12/2002 20:00:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00729690
Message ID:
00729708
Vues:
10
You could also do:

lcDelims = ",:/" && all the delimiters you want changed
lcChangeTo = ";"
lcEmail = ChrTran(lcEmail, lcDelims + " ", Replicate(lcChangeTo, Len(lcDelims))


Here is the explanation:
This will replace every character in lcDelims with the lcChangeTo and replace all " " with "", thereby removing spaces.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform