You are on page 1of 1

/* find "$GPRMC" from raw_buf */ if ((wellhandled_string = strstr(raw_buf, $GPRMC )) !

= NULL) { for (i=0; i<strlen(wellhandled_string); i++) { if (wellhandled_string[i] == '\n') { wellhandled_string[i] = '\0'; //replace } } }

\n with null

You might also like