Solar_Filter_SanitizeTrim::sanitizeTrim()
public
string
Solar_Filter_SanitizeTrim::sanitizeTrim
( mixed $value
, string $chars = ' '
)
Trims characters from the beginning and end of the value.
Parameters
(mixed)
$value
: The value to be sanitized.(string)
$chars
: Trim these characters (default space).
Returns
(string) The sanitized value.
Description
Trims characters from the beginning and end of the value.