public function indexOfLast($needle, $offset = 0) { return \mb_strrpos($this->str, (string) $needle, (int) $offset, $this->encoding); }