Топ-100
 
RDBMS Type: MySQL
Topic

Syntax:
RTRIM(str)

Returns the string str with trailing space characters removed.

URL: https://dev.mysql.com/doc/refman/8.0/en/string-functions.html

Example

mysql> SELECT RTRIM('barbar ');
-> 'barbar'