Difference between revisions of "Array.mid()"

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 25: Line 25:
 
| 9  
 
| 9  
 
|}
 
|}
 +
 +
==See Also==
 +
[[Array.last() | last]]
 +
[[Array.lastelement() |lastelement]]

Revision as of 00:44, 17 April 2020


Array.mid(From,Count)

Get from the array, starting form index From (default 1), a number of elements specified by Count (default 1)

1..10.mid(5)

6

1..10.mid(5,4)

6
7
8
9

See Also

last lastelement