Removes characters from the right side (end) of a string. Right trim for trailing characters.
STRINGDiperbarui: 13 Jun 2026RTRIM(value [, characters])The string to trim
Characters to remove (default: whitespace)
1 SELECT RTRIM('Hello ') as result;
Removes trailing spaces.
1 SELECT RTRIM('Hello...', '.') as result;
Removes trailing dots.
Sudah paham RTRIM? Latih langsung di browser
Latihan interaktif, langsung di browser.