A simple library to left pad a string with a given character up to a certain length.
use pad_left::left_pad;
fn main() {
assert_eq!(left_pad("hello".to_string(), 15, 'π'), "ππππππππππhello".to_string());
}
cargo test
cargo doc --open