Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting rid of spaces
Message
From
11/10/2000 15:05:18
 
 
To
11/10/2000 14:56:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00428001
Message ID:
00428015
Views:
16
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform