mb_rtrim
mb_rtrim
Strip whitespace (or other characters) from the end of a string
string **mb_rtrim** string $string $characters $encoding
Performs a multi-byte safe operation,
and returns a string with whitespace (or other characters) stripped from the
end of .
rtrim``string
Without the second parameter,
will strip these characters:
mb_rtrim
stringThe input string.
characters``encodingReturns the modified string.
mb_trim``mb_ltrim``rtrim