Skip to main content

pad_str

Function pad_str 

Source
pub fn pad_str<T: Integer>(
    input: StringAVT<'_, T>,
    width: usize,
    fill_char: char,
    side: PadSide,
) -> Result<StringArray<T>, KernelError>
Expand description

Pads each string element to width characters using fill_char.