Lucee Function Reference
Function ARRAYMID
Extracts a sub array from a array.
Example
arraymid(array array,number start,[number count]):array
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
array | array | Yes | array to substract data from |
start | number | Yes | The position of the first element to retrieve. |
count | number | No | The number of elements to retrieve. If not set, all elements until the end of the array will be returned. |