question: public char skipUntil ( String skip ) throws IOException { char ch ; do { ch = readCharacter ( ) ; } while ( skip . indexOf ( ch ) == - 1 ) ; return ch ; }
target:  Skips over the file until a character from delimiters is found. Returns the delimiter found. Will skip comments and will ignore delimiters within comments.