Skip to main content

str_pad_start

Function str_pad_start 

Source
pub fn str_pad_start(s: &str, target_len: i64, pad: &str) -> String
Expand description

Pad a string at the start to reach the target length (Unicode-aware).