SA-MP Forums Archive
Strsep. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Strsep. (/showthread.php?tid=116535)



Strsep. - Striker_Moe - 29.12.2009

Has anyone got it?


Re: Strsep. - dice7 - 29.12.2009

Yes, it's called strtok


Re: Strsep. - Striker_Moe - 29.12.2009

Are you sure?


Re: Strsep. - Grim_ - 29.12.2009

What is Strsep suppose to do?


Re: Strsep. - dice7 - 29.12.2009

Strsep is a string spliting function (by a delimiter), similar to strtok() or sscaf() or split(). It has the same parameters as strtok(), just some handling improvements. It should be in <string.h>, but it isn't. Just use sscanf, It's easier