Function left_pad_char

Source
pub fn left_pad_char(s: &str, pad: usize, padchar: char) -> String
Expand description

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