07.08.2010, 12:49
Seperator allows you for where to split the string, if it's empty it'll split at the nearest space, if you put in "|" it's return text from that | to the next |
Results in an outcome of "guys"
Results in an outcome of "doing"
pawn Код:
strtok("Hey guys how you doing?", 0);
pawn Код:
strtok("Hey guys how you |doing|", 0, "|");