Lucee Function Reference

arraymid()

Extracts a sub array from an array.

Example

arraymid(array array,number start,[number count]):array

Category

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.