Function trunc

Source
pub fn trunc(input: &str, length: u8) -> &str
Expand description

safely truncate a string to n length