Skip to main content

slice

Function slice 

Source
pub fn slice(s: &Str, start: f64, end: f64) -> Str
Expand description

slice: negatives count from the end; empty when start >= end after normalization.