Function leftpad::left_pad [] [src]

pub fn left_pad(s: &str, pad: u32) -> String

pad a string to the left with pad spaces