replace value(a, list b, list c)


Searches value a in the comma separated Token List b. If a is found, the value at the same position in the comma-separated token list c is returned.

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

Description of Parameters


Parameter

Description

a

Search value.

b

Comma-separated list of values.

c

Comma-separated list of replacement 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