pub fn cut_str(s: &str, width: usize) -> Cow<'_, str>
Expand description

strip cuts the string to a specific width.

Width is expected to be in bytes.