28.10.2010, 20:06
pawn Код:
stock split(const string[], string1[], string2[], character, maxsize = strlen(string)+1)
{
format(string1, maxsize, "%s", string);
format(string2, maxsize, "%s", string);
strdel(string1, character+1, strlen(string));
strdel(string2, 0, character+1);
return 1;
}