28.04.2012, 11:35
How can I split a string using sscanf (or any other function)?
E.g:
I'd like to split the string from character position 14 in string2.
This would be:
string will be: Hello my name is
string2 will be: Biesmen from SA-MP.com!
E.g:
pawn Код:
new string[64],
string2[50];
format(string, sizeof(string), "Hello my name is %s from SA-MP.com!", playername);
This would be:
string will be: Hello my name is
string2 will be: Biesmen from SA-MP.com!