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>

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.