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

Name

ListChangeDelims

Synopsis

                   ListChangeDelims(list, new_delimiter [, delimiters])

Changes the delimiters used in the list to the specified new delimiters. The following example changes the delimiters in the list from commas to pipes (|):

<cfset MyList = "Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday">
<cfset NewList = ListChangeDelims(MyList, '|', ',')>
   
<cfoutput>
<b>Old Delimiters:</b> #MyList#<br>
<b>New Delimiters:</b> #NewList#
</cfoutput>


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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