Skip to main content

str_slice

Function str_slice 

Source
pub fn str_slice(s: &str, start: i64, end: i64) -> String
Expand description

Extract a substring by character indices (Unicode-aware). Indices are inclusive start, exclusive end.