pub fn cut(s: &str, left: usize, right: usize) -> StringExpand description
Remove left display columns from the start and right display columns from the end of s.
The result includes only whole grapheme clusters within the retained column interval. ANSI escape sequences are preserved and do not count toward either cut amount.