question: public boolean forwardIfCurrent ( String str ) { boolean is = isCurrent ( str ) ; if ( is ) pos += str . length ( ) ; return is ; }
target:  forwards if the current character (internal pointer) and the following are the same as the given input