Robin2's serial input basics tutorial may be of interest. Though it deals with input it should answer your question.
Example 5 shows how to use strtok() to parse the input data.
Robin2's serial input basics tutorial may be of interest. Though it deals with input it should answer your question.
Example 5 shows how to use strtok() to parse the input data.