Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text file

Status
Not open for further replies.

vlitim

Programmer
Sep 2, 2000
393
GB
when i write a string to a textfile it gets put in with quotes around it, how do you get rid of these when reading the file line by line??
 
You could just go
left(stringname,1)
right(stringname,1)
after u read it.
 
If you use Print instead of Write, there will be no quotation marks. Otherwise, you could strip them out as in

text = replace(text,"""","")
David Paulson

 
This can happen if you are using

line input #1 <whatever>

instead of

input #1 <whatever>


Kate

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top