The rtrim() function returns a copy of
that has been stripped of any suffix that consists
solely of characters from text
. Characters from extra
that are contained in the body of extra
remain untouched.text
If
is not provided, it is assumed to consist of the
ASCII space (extra
0x20) character.
By default, tab characters and other whitespace are not
trimmed.