Quote:
Originally Posted by Zenith77
Ok so, this string
(C style return chars)
Code:
"NAME: w00t\r VALUE: Hello World"
would be ("exploded")
Code:
new var[2][50]
var[0] = "NAME: w00t";
var[1] = "VALUE: Hello World";
|
Yes, basicly it breaks down:
Code:
line #1
line #2
line #3
to
Code:
new lines[3][100]
lines[0] == "line #1"
lines[1] == "line #2"
lines[2] == "line #3"
etc... The function returns number of "new" variables inserted to the array.
It basicly works like php's "explode" function:
http://is2.php.net/explode
__________________