ReplaceList (string, list1, list2) DescriptionA case-sensitive replacement of values from a delimited list with corresponding values from another delimited list. Example<cfset exampleString = "It is a curse to be born in interesting times."> <cfset exampleList1 = "curse, born, interesting"> <cfset exampleList2 = " blessing, live, boring"> <cfoutput> This is my original saying: #exampleString# This is my new saying: # ReplaceList(exampleString, exampleList1, exampleList2)# </cfoutput> |