Array.rslice()

Revision as of 09:44, 6 March 2017 by Joseph (talk | contribs) (Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Array.rslice(Begin, End)

Same as Array.slice but from the right side. Both Begin and End are from the ends. Same as Array.reverse().slice(Begin,End).reverse()

[1,2,3,4,5].rslice(1,2)

[4]

[1,2,3,4,5].rslice(1,3)

[3, 4]