Skip to main content

pad_end

Function pad_end 

Source
pub fn pad_end(
    s: &Str,
    target_length: f64,
    pad: &Str,
    limits: &TenantLimits,
) -> Result<AdmittedStr>
Expand description

padEnd: append repetitions of pad until the string reaches target_length. Copies self when already long enough or pad is empty.