Railo 4.2 Reference
Choose a function:

Function REPLACELIST

Replaces occurrences of the elements from a delimited list
in a string with corresponding elements from another delimited
list. The search is case-sensitive.

Beispiel

replacelist(string string,string list1,string list2,[string delimiter_list1,[string delimiter_list2]]):string

Argumente

Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name Typ Required Beschreibung
string string  Yes A string  
list1 string  Yes string list of search strings  
list2 string  Yes string list of replacement strings  
delimiter_list1 string  No Delimiter for search, or if no replacement delimiter is defined, this delimiter is used for search and replacement.  
delimiter_list2 string  No Delimiter for replacement.