--- title: "replace chars(a, list b, list c)" slug: "string-replace-chars-by-list" updated: 2026-08-17T08:04:21Z published: 2026-08-17T08:04:21Z canonical: "docs.lobstersoftware.com/string-replace-chars-by-list" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # 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 |