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;
	}