• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

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>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint