Determines the number of elements in an array.
The number of elements in an array.
ArrayLen(array) |
ArrayIsEmpty ; Functions for XML object management in Modifying a ColdFusion XML object in the Developing ColdFusion Applications
ColdFusion MX: Changed behavior: This function can be used on child XML objects.
Parameter |
Description |
|---|---|
array |
Name of an array |
<cfscript> myArray=[1,2,3,4,5] writeoutput(ArrayLen(myArray)) // Returns 5 </cfscript>
Sign in to your account