pruneytoes
06-01-2007, 01:21 PM
In my script which writes to a text file, I am using \n for line breaks. The problem is that \n leaves a space at the end of the line, which I do not want. For example,$line1 = "Hello this is the first line.\n";
will make it look like this:Hello this is the first line.
(highlight it to see the space at the end of the line)
How can I make a line break without the space at the end of the line?
Thanks
will make it look like this:Hello this is the first line.
(highlight it to see the space at the end of the line)
How can I make a line break without the space at the end of the line?
Thanks