Help with c++ - 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)
+--- Thread: Help with c++ (
/showthread.php?tid=456610)
Help with c++ -
Salim_Karaja - 06.08.2013
Let's say I have this string:
"hello:there

amp"
How do I split those words by delimiter ':' to array
I want this to be the result:
arr[0] = "hello";
arr[1] = "there";
arr[2] = "samp";