05.03.2012, 14:00
How to split a string on a specific length without the usage of sscanf? For Instance:
pawn Код:
new sampletext[64] = "This is a sample text which will be splited into arrays";
new arrayofstr[2][128];
strsplit(sampletext, 27, arrayofstr);
printf("%s", arrayofstr[0]); // which will print out "This is a sample text which"