Parse an online text file

Hi,

Could someone please explain how I can read a text file online that contains urls and store each of these links into seperate variables?

Thanks for your time :)

How are they stored in the file? Like one per line, or some other separator?

1 Answer

1

Look at the docs for WWW (to get the file), and google MSDN string Split to parse the file. Split will create an array of values, there you go.

Yeah that's it. Pretty much the same for both languages. Note to split a string on, say, a semicolon would be myString.Split(";"[0])