pub fn array_slice( arr: &[String], offset: i64, length: Option<i64>, ) -> Vec<String>
Apply offset and length to array (from subst.c ${PARAM:offset:length} handling)