mb_trim
mb_trim
Strip whitespace (or other characters) from the beginning and end of a string
string **mb_trim** string $string $characters $encoding
Performs a multi-byte safe operation,
and returns a string with whitespace stripped from the
beginning and end of .
Without the second parameter,
will strip these characters:
trim``string``mb_trim
string
The that will be trimmed.
string
characters``encodingThe trimmed string.
mb_ltrim``mb_rtrim``trim