09.01.2010, 23:30
Quote:
Originally Posted by Mattjones17
Thanks
It is also limited to 29 characters. Do you know how this can be fixed? Cheers Matt |
it uses a 30 cell array 29 character and the end of string
because it would be quite useless to use a big array if it only gets a short part of the input
I can advise sscanf, it uses an undefined parameter size
so you can set the size of the arguments you want and the length of the output
sscanf can be found in the wiki /wiki/sscanf
there is a tutorial, too => Fast Commands
It explains, strtok, dcmd, zcmd, sscanf