question: public char skipTo ( char to ) { char c ; int index = this . myIndex ; do { c = next ( ) ; if ( c == 0 ) { this . myIndex = index ; return c ; } } while ( c != to ) ; back ( ) ; return c ; }
target:  Skip characters until the next character is the requested character. If the requested character is not found, no characters are skipped.