rpad(str: string, length: int64, [pad: string]?) -> string

Right pads a string with characters from another string, default pad string is whitespace

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

make_col padded_kind:rpad(bundle_kind, 100, '%')

Create a new column 'padded_kind' which has a length of 100 characters, with missing characters added as percents on the right."