Skip to main content

truncate

Function truncate 

Source
pub fn truncate(text: &str, max_chars: usize) -> String