Jul 22, 2001 #1 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??
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??
Jul 22, 2001 #2 MrMoocow Programmer May 19, 2001 380 US You could just go left(stringname,1) right(stringname,1) after u read it. Upvote 0 Downvote
Jul 22, 2001 #3 dpaulson Programmer May 7, 2000 347 CA 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 Upvote 0 Downvote
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
Jul 22, 2001 #4 wekkew Programmer Sep 28, 1998 123 GB This can happen if you are using line input #1 <whatever> instead of input #1 <whatever> Kate Upvote 0 Downvote