fn cut_bytes(text: &str, bytes: usize) -> String
The first bytes bytes of a text, cut on a character’s edge.
bytes