pub fn get_array_slice( arr: &[String], idx: &SubscriptIndex, ksh_arrays: bool, ) -> Vec<String>
Get array slice based on subscript index