21.07.2014, 22:51
Just an idea.
start to scan the row from the length you want to cut, and at first " " symbol split it.
Like you want that it sends msgs not longer than 128 symbols,
then just start to
and you know at which place to split it.
start to scan the row from the length you want to cut, and at first " " symbol split it.
Like you want that it sends msgs not longer than 128 symbols,
then just start to
pawn Код:
for(new i = 120; i < strlen(string); i++)
{
if(string[i] == ' ') { split at 130 for example; }
}