pub fn truncate_chars(text: &str, max: usize) -> Cow<'_, str>
At most max characters of text, with an ellipsis when it was longer.
max
text