question: public void skipWhile ( String skip ) throws IOException { char ch ; do { ch = read ( ) ; } while ( skip . indexOf ( ch ) > - 1 ) ; unreadCharacter ( ch ) ; }
target:  Skips char any contiguous characters in skip. Will also skip comments.