ReplaceList

"-->
 ReplaceList (string, list1, list2) 

Description

A 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>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net