public function trimRight($values = " \t\n\r\0\x0B"): Utility
    {
        $parameters = $this->parameters($values);

        $string = rtrim($this->string, implode('', $parameters));

        return new static($string, $this->encoding);
    }
public function trimRight($values = " \t\n\r\0\x0B"): Utility
    {
        $parameters = $this->parameters($values);

        $string = rtrim($this->string, implode('', $parameters));

        return new static($string, $this->encoding);
    }
public function trimRight ( $ values = " \t\n\r\0\x0B" ) : Utility { $ parameters = $ this -> parameters ( $ values ) ; $ string = rtrim ( $ this -> string , implode ( '' , $ parameters ) ) ; return new static ( $ string , $ this -> encoding ) ; }
Trim a collection of values from the string using ltrim

@param mixed $values Values to be trimmed from the string

@return $this
Trim a collection of values from the string using ltrim