Skip to main content

cut

Function cut 

Source
fn cut(text: &str, max: usize) -> String
Expand description

At most max characters, “…” said where it was cut.