public function toStudlyCase(): Utility
    {
        $string = implode(' ', $this->prepareForCasing($this->string));

        $string = str_replace(' ', '', ucwords($string));

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

        $string = str_replace(' ', '', ucwords($string));

        return new static($string, $this->encoding);
    }
public function toStudlyCase ( ) : Utility { $ string = implode ( ' ' , $ this -> prepareForCasing ( $ this -> string ) ) ; $ string = str_replace ( ' ' , '' , ucwords ( $ string ) ) ; return new static ( $ string , $ this -> encoding ) ; }
Transform the value to StudlyCase format

@return $this
Transform the value to StudlyCase format