mb-rtrim
mb_rtrim
Strip whitespace (or other characters) from the end of a string
ENTITY
string
mb_rtrim
string
string
string
null
characters
ENTITY
string
null
encoding
ENTITY
Performs a multi-byte safe rtrim operation, and returns a string with whitespace (or other characters) stripped from the end of string.
Without the second parameter, mb_rtrim will strip these characters:
ENTITY
ENTITY
string
The input string.
characters
ENTITY
encoding
ENTITY
ENTITY
Returns the modified string.
ENTITY
mb_trim
mb_ltrim
rtrim
这篇文档对你有帮助吗?
谢谢你的反馈!