#includeNMEAInputLine line("$GPRMC,123519,A,4807.038,N,01131.000,E,022.4,084.4,230394,003.1,W*6A"); line.skip(1); // Skip the '$GPRMC' field
#includeIn this example, we create an NMEAInputLine object using a sample NMEA sentence. We then call the skip() function twice to skip the first field (which is the sentence type) and the next two fields (which are the latitude and longitude) in the NMEA sentence. The NMEAInputLine skip() function is a part of the NMEA library for C++.NMEAInputLine line("$GPGLL,5133.81,N,00146.50,W,120712,A,A*5e"); line.skip(1); // Skip the '$GPGLL' field line.skip(2); // Skip the latitude and longitude fields