Skip to main content

str_pad_end

Function str_pad_end 

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

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