Railo 4.1 Reference
Choose a function:


This function merges two arrays to a single one.


arraymerge(array array1,array array2,[boolean leaveIndex]):array


The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
array1 array  Yes first array  
array2 array  Yes second array  
leaveIndex boolean  No defines whether the merged arrays will maintain their index values or if the second array will simply append to the first one. If both arrays contain the same index and you specified the parameter leaveIndex to true, the corresponding index in the resulting array will always contain the value of the index of the first array.