Returns list with all delimiter characters changed to new_delimiter string.
See also ListFirst and ListQualify.
ListChangeDelims(list, new_delimiter [, delimiters ])
List of delimiters being changed.
String being used as a new delimiter.
Set of delimiters used in list.
<!--- This example shows ListFirst, ListLast, and ListRest ---> <HTML> <HEAD> <TITLE>ListFirst Example</TITLE> </HEAD> <BASEFONT FACE="Arial, Helvetica" SIZE=2> <BODY bgcolor="#FFFFD5"> <H3>ListFirst Example</H3> <!--- Find a list of users who wrote messages ---> <CFQUERY NAME="GetMessages" DATASOURCE="CFExpress"> SELECT Subject, Posted, Message FROM Messages </CFQUERY> <CFSET temp = ValueList(GetMessages.Message)> <!--- Show the first user in the list ---> <P>The first message in the list is <UL> <LI><CFOUTPUT>#ListFirst(temp)#</CFOUTPUT> </UL> <P>The rest of the messages are as follows: <UL> <li> <CFOUTPUT>#ListChangeDelims(ListRest(temp), "<li>")#</CFOUTPUT>. </UL> <P>The last message in the list is <UL> <LI><CFOUTPUT>#ListLast(temp)#</CFOUTPUT> </UL> </BODY> </HTML>