ID:810025
 
(See the best response by Zaoshi.)
Code:
test2()
var/http[]=world.Export("http://totalfungames.comoj.com/secretpagefck.php")
if(!http)
world<<"error"
return null
var/Data=file2text(http["CONTENT"])
world<<Data


Problem description:

I want to read the file from the site, putting each line into an index of a list. like this list[1]="line1" , list[2]="line2". i don't have a clue how to do it :(
Best response
Find end of line symbol, which might be \n, \r or \r\n. Then copy everything from beginning to it and put into the list.
thank you, i got a library that had that function made it is Nadrew's string handler http://www.byond.com/developer/Nadrew/StringHandler , it has a split string proc so it helped me a lot.