pub fn truncate(s: &str, max: usize) -> String
Truncate a string to max chars, appending “…” if trimmed.
max