23.03.2014, 18:34
you can just do
and then
Hence you can now use mainstring as your first message and second and your second.
Elaborate this method more to get exactly what you need.
I recommend you something like i said because this would be faster than rather looping into strings and then splitting them out.
pawn Код:
strmid(secondstring, mainstring, 40, strlen(string)); //get part of string from 40th character to end of mainstring.
pawn Код:
strdel(mainstring, 40, strlen(string)); // deletes string part from 40th character to end of string
Elaborate this method more to get exactly what you need.
I recommend you something like i said because this would be faster than rather looping into strings and then splitting them out.