Skip to main content

pad_left

Function pad_left 

Source
pub fn pad_left(s: &str, width: usize, fill: char) -> String
Expand description

Pad a string on the left to a given width.