public function reverse(): Utility
    {
        $string = '';

        for ($i = $this->length() - 1; $i >= 0; $i--) {
            $string .= \mb_substr($this->string, $i, 1, $this->encoding);
        }

        return new static($string, $this->encoding);
    }
public function reverse(): Utility
    {
        $string = '';

        for ($i = $this->length() - 1; $i >= 0; $i--) {
            $string .= \mb_substr($this->string, $i, 1, $this->encoding);
        }

        return new static($string, $this->encoding);
    }
public function reverse ( ) : Utility { $ string = '' ; for ( $ i = $ this -> length ( ) - 1 ; $ i >= 0 ; $ i -- ) { $ string .= \ mb_substr ( $ this -> string , $ i , 1 , $ this -> encoding ) ; } return new static ( $ string , $ this -> encoding ) ; }
Reverse the string

@return $this
Reverse the string