Posted By: Liamissimo
Adding a new line to a txt file - 01/09/11 01:11
Hey friends,
I am just playing around with some txt - ftp stuff and want to create a list of files hat need to be downloaded. I want the list to be like this
url to first thing
url to second thing
etc.
I know txt_load put every line in a seperate string, no problem. I just can't get it to work to enter a new line with \n. I enter two entrys, at the end of the string who is written stands a \n but If I open the txt file they aren't in two lines, it is just one long line.
Who can I do this? I don't want to open the notepad, press end and then enter as this isn't beautiful
I am just playing around with some txt - ftp stuff and want to create a list of files hat need to be downloaded. I want the list to be like this
url to first thing
url to second thing
etc.
I know txt_load put every line in a seperate string, no problem. I just can't get it to work to enter a new line with \n. I enter two entrys, at the end of the string who is written stands a \n but If I open the txt file they aren't in two lines, it is just one long line.
Who can I do this? I don't want to open the notepad, press end and then enter as this isn't beautiful