ArraySlice
Method Signature
ArraySlice(array=[array], start=[integer], length=[integer])Arguments
Argument
Type
Required
Description
Default
Examples
Simple arraySlice Example
array = [
1,
2,
3,
4,
5,
6,
7,
8
];
newArray = arraySlice( array, 2, 3 );
writedump( newArray );
arraySlice with no length specified
arraySlice using a negative offset
Slice an array using member function
Additional Examples
Related
Last updated
Was this helpful?
