public function lastIndexOf( $sequence, $fromIndex = 0, $ignoreCase = false ) {
		if ( $fromIndex < 0 ) {
			$fromIndex = 0;
		} else if ( $fromIndex >= $this->length() ) {
			return - 1;
		}
		if ( $ignoreCase == false ) {
			$index = strrpos( $this->value, $sequence, $fromIndex );
		} else {
			$index = strripos( $this->value, $sequence, $fromIndex );
		}

		return $index === false ? - 1 : $index;
	}
public function lastIndexOf( $sequence, $fromIndex = 0, $ignoreCase = false ) {
		if ( $fromIndex < 0 ) {
			$fromIndex = 0;
		} else if ( $fromIndex >= $this->length() ) {
			return - 1;
		}
		if ( $ignoreCase == false ) {
			$index = strrpos( $this->value, $sequence, $fromIndex );
		} else {
			$index = strripos( $this->value, $sequence, $fromIndex );
		}

		return $index === false ? - 1 : $index;
	}
public function lastIndexOf ( $ sequence , $ fromIndex = 0 , $ ignoreCase = false ) { if ( $ fromIndex < 0 ) { $ fromIndex = 0 ; } else if ( $ fromIndex >= $ this -> length ( ) ) { return - 1 ; } if ( $ ignoreCase == false ) { $ index = strrpos ( $ this -> value , $ sequence , $ fromIndex ) ; } else { $ index = strripos ( $ this -> value , $ sequence , $ fromIndex ) ; } return $ index === false ? - 1 : $ index ; }
Returns the index within this string of the last occurrence of the specified
string, searching backward starting at the specified index.

@access public

@param string $sequence A string
@param int $fromIndex The index to start the search from
@param boolean $ignoreCase If true, ignore case

@return int the index of the first occurrence of the sequence.
Returns the index within this string of the last occurrence of the specified string searching backward starting at the specified index .