src/Strings.php
public static function spaceless(string $s)
	{
		$s = trim($s);
		$s = self::replace($s, '#\s#', '');

		return $s;
	}
public static function spaceless(string $s)
	{
		$s = trim($s);
		$s = self::replace($s, '#\s#', '');

		return $s;
	}
public static function spaceless ( string $ s ) { $ s = trim ( $ s ) ; $ s = self :: replace ( $ s , '#\s#' , '' ) ; return $ s ; }
Remove spaces from the beginning and end of a string
and between chars

@return mixed
Remove spaces from the beginning and end of a string and between chars