Skip to main content

truncate

Function truncate 

Source
pub fn truncate(s: &str, max_len: usize) -> &str
Expand description

截取字符串