pad_char

Function pad_char 

Source
pub fn pad_char(s: &str, n: usize, c: char) -> Result<String, &str>
Expand description

Left-pads the string with the supplied character.