public boolean eat(final int charToEat) {
        skipWhitespaces();
        if (ch == charToEat) {
            next();
            return true;
        }
        return false;
    }
Resets to previously marked parse position
main/src/main/java/cgeo/geocaching/utils/TextParser.java