23.07.2015, 20:29
Quote:
PHP код:
PHP код:
- Mencent |
I put this piece of code on top of the script:
stock strtok(const string[], &index) //©Jeffry
{
new result[20], length = strlen(string), i = index;
while ((i < length) && (string[i] == ' ')) i++;
strmid(result,string,i,((index = strfind(string, " ", false, i)) == -1) ? (index = length) : (index) , 20);
index++;
return result;
}
Not sure if that's correct or not.