Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21243

Writing to a text file without quotes and spaces

$
0
0
I am trying to write data to a text file without spaces or quotation marks. I have googled it and found that if I use Print it will remove the quotes but it adds spaces to the string I am trying to save. I am trying to write a string to the file but when I do a Print #Handle, "Hello" the file prints data,Hello ,data,data,data. I need it to just put data,Hello,data,data,data with no spaces after Hello. If I use Write it will put data,"Hello",data,data,data. Is there any way to write a string to a file without the quotation marks and without adding spaces? Thanks in advance.

Viewing all articles
Browse latest Browse all 21243

Trending Articles