Crate leftpad [] [src]

Functions

left_pad

pad a string to the left to pad length with spaces If str.len() is less than pad, then the string is returned verbatim

left_pad_char

pad a string to the left to pad length with padchar If str.len() is less than pad, then the string is returned verbatim