Skip to main content

string_slice

Function string_slice 

Source
pub fn string_slice(s: &str, offset: i64, length: Option<i64>) -> String
Expand description

Apply offset and length to string (from subst.c ${PARAM:offset:length} handling)