Whatever message this page gives is out now! Go check it out!
ArrayFirst(array)| Parameter | Req/Opt | Description |
Array | Required | The input array from which the first element is to be displayed. |
<cfscript>
animals = ['cat','dog','fish','bison'];
firstAnimal=ArrayFirst(animals);
writeOutput("The first element of the array is: " & firstAnimal);
</cfscript>