Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function ARRAYSLICE

Returns a new array, from the start position up to the count of elements

Example

arrayslice(array array,number offset,[number length]):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 slice  
offset number  Yes start position in the original array to slice  
length number  No maximum elements to slice from offset