Function fiberplane_models::utils::char_slice
source · pub fn char_slice(text: &str, start: u32, end: u32) -> &strExpand description
Returns a slice of a string, based on character offsets instead of byte indices.
pub fn char_slice(text: &str, start: u32, end: u32) -> &strReturns a slice of a string, based on character offsets instead of byte indices.