protected function find($string) {
        $position = strpos($this->code, $string, $this->currentPosition);
        if ($position === false) {
            $position = $this->codeLength;
        }
        return $position;
    }
protected function find($string) {
        $position = strpos($this->code, $string, $this->currentPosition);
        if ($position === false) {
            $position = $this->codeLength;
        }
        return $position;
    }
protected function find ( $ string ) { $ position = strpos ( $ this -> code , $ string , $ this -> currentPosition ) ; if ( $ position === false ) { $ position = $ this -> codeLength ; } return $ position ; }
Finds the next position of the specified string.
@param string $string The string to find.
@return int The position. If not found, it will be the end of the code.
Finds the next position of the specified string .