Skip to main content

cut

Function cut 

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

Cuts s to at most max bytes at a character boundary.