Name
ListRest
Synopsis
ListRest(list
[,delimiters
])
Returns all the elements in the specified list excluding the first element. An optional delimiter can be specified if the list is delimited with a character other than the comma (the default). The following example returns all the elements in the list except for the first element:
<CFSET MyList = "Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday"> <CFOUTPUT> <B>List:</B> #MyList#<BR> <B>All Elements Excluding First:</B> #ListRest(MyList)# </CFOUTPUT>
Get Programming ColdFusion now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.