ReplaceList  
 
 

Returns string with all occurrences of the elements from the specified comma-delimited list being replaced with their corresponding elements from another comma-delimited list. The search is case sensitive.

See also Find, Replace, and REReplace.

 
 
  Syntax  
 
ReplaceList(string, list1, list2)

string

Any string.

list1

Comma-delimited list of substrings to be replaced.

list2

Comma-delimited list of replace substrings.

 
 
  Usage  
 

Note that the list of substrings to be replaced is processed one after another. In this way you may experience recursive replacement if one of your list1 elements is contained in list2 elements. The second example listed below demonstrates such replacement.





 
 
BackUp LevelNext
 
 

allaire     AllaireDoc@allaire.com
    Copyright © 1998, Allaire Corporation. All rights reserved.