sscanf help - 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: sscanf help (
/showthread.php?tid=241684)
sscanf help -
legodude - 18.03.2011
i have this string:
bfghd|heither|duuh|habby
i would like to sscanf this with as delimiter | but in the script the string can become:
bfghd|heither|duuh|habby|dohpoy|hoika
so it becomes longer.
sscnaf still must read everything. how to do it??
Re: sscanf help -
legodude - 18.03.2011

u advise strtok XD
thnks i will try. not that familiar tho with strtok.