Function leftpad::left_pad
[−]
[src]
pub fn left_pad(s: &str, pad: usize) -> String
pad a string to the left to pad
length with spaces
If str.len() is less than pad, then the string is returned verbatim