replace value(a, list b, list c)


Searches the text a in b that is regarded as comma separated token list. If a is found, the value at the same position of the comma-separated token list b is returned.

If a is not found in b, an empty text will be returned.

Description of Parameters

Parameter

Description

a

Value to be searched for in b.

b

Comma-separated list of search terms.

c

Comma-separated list of replace values.

Examples

Parameter a

Parameter b

Parameter c

Result

D

D,A

Germany,Austria

Germany

A

D,A

Germany,Austria

Austria

I

D,A

Germany,Austria