Skip to content

Pads a string on the right to a specified length with a fill string.

func.rpad(<str>, <len>, <pad>)
func.rpad('hello', 10, '.')
┌──────────────┐
'hello.....'
└──────────────┘
RPAD(<str>, <len>, <pad>)
SELECT RPAD('hello', 10, '.');
┌────────────┐
│ hello..... │
└────────────┘