Function mz_repr::adt::char::format_str_pad
source ยท pub fn format_str_pad(s: &str, length: Option<CharLength>) -> String
Expand description
Ensures that s
has fewer than length
characters, and returns a String
version of it with blank padding so that its width is length
characters.
The value returned is appropriate to return to clients, but is not
appropriate to store in Datum::String
.