original_string: public function endsWith($substring) {
  		$substringLength = mb_strlen($substring, $this->encoding);
  		$endOfStr = mb_substr($this->string, $this->length() - $substringLength, $substringLength, $this->encoding);
  
  		return (string) $substring === $endOfStr;
  	}
code: public function endsWith($substring) {
  		$substringLength = mb_strlen($substring, $this->encoding);
  		$endOfStr = mb_substr($this->string, $this->length() - $substringLength, $substringLength, $this->encoding);
  
  		return (string) $substring === $endOfStr;
  	}
code_tokens: public function endsWith ( $ substring ) { $ substringLength = mb_strlen ( $ substring , $ this -> encoding ) ; $ endOfStr = mb_substr ( $ this -> string , $ this -> length ( ) - $ substringLength , $ substringLength , $ this -> encoding ) ; return ( string ) $ substring === $ endOfStr ; }
docstring: Checks whether the string ends with the given string. Case sensitive!
  
  @see Text::endsWithIgnoreCase()
  @param string|Text $substring The substring to look for
  @return boolean
docstring_tokens: Checks whether the string ends with the given string . Case sensitive!