truncate

Function truncate 

Source
fn truncate(s: &str, max: usize) -> String
Expand description

Truncate a string to fit in a column.