public function toTitleCase(): Utility
    {
        $words = explode(' ', $this->string);

        $string = mb_convert_case(implode(' ', $words), MB_CASE_TITLE, $this->encoding());

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

        $string = mb_convert_case(implode(' ', $words), MB_CASE_TITLE, $this->encoding());

        return new static($string, $this->encoding);
    }
public function toTitleCase ( ) : Utility { $ words = explode ( ' ' , $ this -> string ) ; $ string = mb_convert_case ( implode ( ' ' , $ words ) , MB_CASE_TITLE , $ this -> encoding ( ) ) ; return new static ( $ string , $ this -> encoding ) ; }
Transform the value to into Title Case format

@return $this
Transform the value to into Title Case format