ArrayMid()
Extracts a sub array from an array.
ArrayMid( array=array, start=number, count=number );
Returns: Array
Examples
Similar to String Mid function, gets a section of an array
first argument start, second argument count
aNames = array(10412,42,33,2,999,12769,888);
dump(arrayMid(aNames,2));
//member function
dump(aNames.mid(2,4));
See also
- Arrays
- array.mid()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)