Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
从字符串右侧移除连续出现的空格或指定字符。
rtrim(str[, characters]);
str
characters
MySQL > SELECT rtrim(' ab d '); +---------------------+ | rtrim(' ab d ') | +---------------------+ | ab d | +---------------------+ 1 row in set (0.00 sec)
MySQL > SELECT rtrim("xxabcdxx", "x"); +------------------------+ | rtrim('xxabcdxx', 'x') | +------------------------+ | xxabcd | +------------------------+