replace chars(a, list b, list c)
This function searches a text a for occurrences of tokens in a comma-separated list b and replaces these occurrences with the corresponding token of c. Parameters b and c allow the specification of newlines and tabulator characters with \NL and \TAB.
Parameters
Parameter |
Description |
a |
Text. |
b |
Comma-separated list of texts to be replaced. |
c |
Comma-separated list of replacement texts. |
Examples
Parameter a |
Parameter b |
Parameter c |
Result |
Übersee |
Ä,Ö,Ü,ä,ö,ü,ß |
Ae,Oe,Ue,ae,oe,ue,ss |
Uebersee |
1 |
1,3 |
3,1 |
3 |