New line after 128 characters.
#2

quick sketch.

pawn Код:
inputtext[]

new text[2][128];

if(strlen(inputtext) > 128)
{
strmid(text[0],inputtext,0,127,128); //text[0] will contain text from 0-127
strmid(text[1],inputtext,128,strlen(inputtext),128);//text[1] will contain rest of the string
}
Reply


Messages In This Thread
New line after 128 characters. - by lean1337 - 26.02.2013, 12:31
Re: New line after 128 characters. - by ikey07 - 26.02.2013, 13:21
Re: New line after 128 characters. - by Kyle - 26.02.2013, 13:29

Forum Jump:


Users browsing this thread: 1 Guest(s)