Skip to main content

truncate_utf8

Function truncate_utf8 

Source
pub fn truncate_utf8(input: &str, max_chars: usize) -> String