Module rpad

Source

Structs§

RPadFunc

Functions§

rpad
rpad_impl
Extends the string to length ‘length’ by appending the characters fill (a space by default). If the string is already longer than length then it is truncated. rpad(‘hi’, 5, ‘xy’) = ‘hixyx’