[TSTR] add tstr_slice for extracting a substring of a tstr