A copy of the list, with each delimiter character replaced by new_delimiter.
ListChangeDelims(list, new_delimiter [, delimiters ])
<h3>ListChangeDelims Example</h3> <p>ListChangeDelims lets you change the delimiters of a list. <!--- First, query to get some values for our list elements---> <CFQUERY NAME="GetParkInfo" DATASOURCE="cfsnippets"> SELECT PARKNAME,CITY,STATE FROM Parks WHERE PARKNAME LIKE 'BA%' </CFQUERY> <CFSET temp = ValueList(GetParkInfo.ParkName)> <cfoutput> <p>The original list: <p>#temp# </cfoutput> <!--- Change the delimiters in the list ---> <CFSET temp2 = ListChangeDelims(Temp, "|:P|", ",")> <cfoutput> <p>After executing the statement <strong>ListChangeDelims(Temp, "|:P|", ",")</strong>, the updated list: <p>#temp2# </cfoutput>
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6
Comments are no longer accepted for ColdFusion MX. ColdFusion 8 is the current version.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6/CFML_Reference/functions-pt25.htm