Difference between revisions of "Array.rslice()"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "* << Z3 Home * Z3 Language Documentation * Z%5E3_Array_Manipulation_Member_Functions | Listing of Z3 Array Manipulation Member F...")
 
 
Line 15: Line 15:
  
 
[3, 4]
 
[3, 4]
 +
 +
==See Also==
 +
[[Array.reverse() |reverse]]

Latest revision as of 03:09, 8 May 2020


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]

See Also

reverse