SA-MP Forums Archive
Dividing a string into 2 arrays? - 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: Dividing a string into 2 arrays? (/showthread.php?tid=374324)



Dividing a string into 2 arrays? - Deal-or-die - 02.09.2012

Whats the possibility to split a string into two separate arrays

example

new string[200]

array[playerid][1]
array[playerid][2]

Array 1 has the first 100 cells from the string and the second array has the other 100 cells...

Possibilities? Probably nill but worth an ask

Nevermind I'll just use 'strmid'


Re: Dividing a string into 2 arrays? - Deal-or-die - 02.09.2012

These forums need a delete option for times like these... -.-