public function trimRight($s, $chars = null) : string
	{
		return (string) Stringy::create($s)->trimRight($chars);
	}
public function trimRight($s, $chars = null) : string
	{
		return (string) Stringy::create($s)->trimRight($chars);
	}
public function trimRight ( $ s , $ chars = null ) : string { return ( string ) Stringy :: create ( $ s ) -> trimRight ( $ chars ) ; }
Returns a string with whitespace removed from the end of the string.

c.f. Stringy::trimRight()

@param string $s
@param string $chars
@return string
Returns a string with whitespace removed from the end of the string .