コンテンツにスキップ

文字列の末尾にある空白または指定した文字を削除します。

func.rtrim(<str>)
func.rtrim('hello ')
┌─────────┐
│ 'hello' │
└─────────┘
RTRIM(<str>)
SELECT RTRIM('hello ');
┌───────┐
│ hello │
└───────┘