Posted 22 March 2013 - 05:53 AM
Hello guys,
I need to know for my cloud system how to split a string into a table
like:
String i want to split: "username!BR!password!BR!command"
and now i want to have a table like this
{
[1] = "username",
[2] = "password",
[3] = "command"
}
out of the string up,
and it would be awesome if i can do this with endless compressed variables.
The function should look like this
split(text,pattern)
Thanks, PrinzJuliano
I need to know for my cloud system how to split a string into a table
like:
String i want to split: "username!BR!password!BR!command"
and now i want to have a table like this
{
[1] = "username",
[2] = "password",
[3] = "command"
}
out of the string up,
and it would be awesome if i can do this with endless compressed variables.
The function should look like this
split(text,pattern)
Thanks, PrinzJuliano