Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filetostr(),Strtofile()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00394054
Message ID:
00394055
Vues:
11
>I'm importing a file that has alot of fields but no delimitter (other than random spaces). Is there a way to replace all the spaces (fields can be separated by any # of spaces) with a comma?
>
>lcStr=strtran(lcFile," ",",") will replace every single space with a comma, I want to replace every group of spaces with a comma. Any suggestions?

Check this thread for ideas:
Coding, syntax & commands Re: Change double spaces to single spaces Thread #371947
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform