You need both - \r to return to the start of the line, and \n to advance to the next line. Problem is, only text files created on Windows have both characters; files created on UNIX-ish systems only have the newline. So you may have to replace all occurrences of \r by \r\n.
posted 7 years ago
Cool, I replaced '\n' with '\r\n' and it worked great : ).
You down with OOP? Yeah you know me!
It's weird that we cook bacon and bake cookies. Eat this tiny ad: