Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting rid of spaces
Message
 
 
À
11/10/2000 14:56:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00428001
Message ID:
00428015
Vues:
13
Hi, Linda!

From previous post we used command
copy to ... delimited with " " with character ','

It is right, but as I understood correctly, you now need to change output lines like
"1, Character Field ,F, CharField2 ,123,122" to
"1,Character Field,F,CharField2,123,122"

Is it correct?
If your text file is not too large, you may try following commands after export into text file:

local lcMyVar
lcMyVar = FileToStr("MyTextFile.TXT")
STRTOFILE(STRTRAN(STRTRAN(lcMyVar,", ",",")," ,",","), ;
"MyTextFile.TXT")

Above command might not work when text file is large.


>I am writing out to a txt file Delimited by Commas and i have some character fields and i got rid of the " " around the charecter field but now i have space before any suggestions how to get rid of them
>Thanks Linda
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform