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

c.f. Stringy::trim()

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