pub fn snip(text: &str, startposition: usize, count: i64) -> String
Removes a slice starting at the 0-based startposition.
startposition
A count of -1 removes to the end; non-positive counts are no-ops.
count