string.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.

string.replaceList( string, list1, list2 [, delimiter_list1 [, delimiter_list2 [, includeEmptyFields ] ] ] )

Returns: String

Argument Description
string
string, required

A string

list1
string, required

string list of search strings

list2
string, required

string list of replacement strings

delimiter_list1
string, optional

Delimiter for search, or if no replacement delimiter is defined, this delimiter is used for search and replacement.

delimiter_list2
string, optional

Delimiter for replacement.

includeEmptyFields
boolean, optional

When true, empty elements are preserved

Examples

There are currently no examples for this function

See also