Skip to content

Removes trailing whitespace or specified characters from a string.

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