Function truncate

Source
pub fn truncate(string: &str, width: usize) -> &str
Expand description

Truncate a string to a specific column width