Hello. I'm currently trying to split a char in MPLAB IDE, with a C compiler. We're working on a project and the only thing im missing is to split a char on the form:

$GPGGA,071112.995,6023.0717,N,00520.1325,E,1,03,08.0,00110.1,M,43.8,M,,*6C

Where i need to get out 071112.995,6023.0717 etc. But since I haven't had C before this course I found it quite difficult to split the char.

Can anyone help me?

Regards Asotop

A note on terminology, a char is a single character. You want to split a string of char.

As for how to go about it, look up strtok().