Module lpad

Source
Available on crate feature unicode_expressions only.

Structs§

LPadFunc

Functions§

lpad
Extends the string to length ‘length’ by prepending the characters fill (a space by default). If the string is already longer than length then it is truncated (on the right). lpad(‘hi’, 5, ‘xy’) = ‘xyxhi’