Skip to main content

cut

Function cut 

Source
fn cut(text: String, bytes: usize) -> String
Expand description

A text cut to at most bytes, on a character’s edge.