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

Name

ListAppend

Synopsis

                    ListAppend(list, element [, delimiters])

Appends element to the end of list. An optional delimiter can be specified if the list is delimited with a character other than the comma (the default). Here’s an example that appends an element to the end of a list:

<cfset MyList = "Monday,Tuesday,Wednesday,Thursday,Friday,Saturday">
<cfset MyAppendedList = ListAppend(MyList, 'Sunday')>
   
<cfoutput>
<b>List:</b>  #MyList#<br>
<b>Appended List:</b> #MyAppendedList#
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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