Tried this function below to take a string and when len of the strings get to 59 then it would go on and save the rest data in strings[] array ina different number
someway it just chopps of the string[0] at the maxlen and doesn't save the rest into string[1]
could someone help me out ? :)
char *stringarray(char *string) { char * strings[10]; char buf[MSL]; char buf2[MSL]; char c; int currlen=0; int count=0; int maxlen = 59; char tempstring[MSL];
someway it just chopps of the string[0] at the maxlen and doesn't save the rest into string[1]
could someone help me out ? :)