Returns a new list containing a subset of the elements from the input list. The subset is specified using the arguments iLow and iHigh, which are inclusive indices. The indices are clamped to the respective ends of the list, if out of range. Note that the indices are 1-based.
Syntax
subList ( list As List, _
iLow As Integer, _
iHigh As Integer ) As List
Argument
Type
Description
list
list
The input list
iLow
integer
Index of the first item in the subset, inclusive (1-based).
iHigh
integer
Index of the last item in the subset, inclusive (1-based).