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),'')
Ooo, you use VFP 9
Then you can use:
TEXT TO lcVar PRETEXT 8 NOSHOW
_______________________________________________________________
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