Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text..EndText and TAB
Message
 
To
22/05/2005 11:31:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01016565
Message ID:
01016571
Views:
6
>I>Hi,
>I am using TEXT TO lcVar NOSHOW ... ENDTEXT and STRTOFILE() to output string to a file. I found that the output content always has TAB in front of each line.
>Any way to prevent this?
>
>Thank you

John,
this is CR and LF = CHR(13)+CHR(10).
For remove
new_var = CHRTRAN(lcvar,CHR(13)+CHR(10),'')
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform