rtrim

description

Syntax

VARCHAR rtrim(VARCHAR str)

Remove the space that appears continuously from the ending of the parameter str

example

  1. mysql> SELECT rtrim('ab d ') str;
  2. +------+
  3. | str |
  4. +------+
  5. | ab d |
  6. +------+

keywords

  1. RTRIM