Thanks!
ok.. just so I'm clear...
Even if there is no data left to add to the array.. I still need to populate any/all remaining (empty) indexes with a NULL ('\0') character?
From the example #5 linked to above... why does that one, -not- look (to me at least) to be a multi-dimensional array?
Looks like (and I could be understanding it all wrong), that he is taking the characters from index * to first instance of delimited character, and copying it to a char array?
strcpy(messageFromPC, strtokIndx); // copy it to messageFromPC
How is this getting him an array of strings??
To me it looks like he has stripped out '3' specific and known (count) values... and saved them to 3 separate variables?
--
Just saw your new message as I posted the above.
You are correct,.. none of the data (chunks) will container any of the characters used for:
start, end, delimiter values..
So.. I would then need to pass each character to
myArray[10][0] = (while incoming character that is not start/stop/delimiter)
when the next delimiter is hit..then I
myArray[10][1] = (while incoming character that is not start/stop/delimiter)..
So your suggesting to do this while the serial data is being received? And not take the whole incoming data, save to char, and then chop it up and put in a multi-dimensional array?