--- title: "substring()" slug: "string-substring" updated: 2025-11-13T06:51:58Z published: 2025-11-14T02:46:29Z canonical: "docs.lobstersoftware.com/string-substring" --- > ## 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. # substring() Liefert den Teil von Text **a** zurück, der bei Position **b** beginnt und eine Länge von **c** hat. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Text. | | b | Startposition (Index beginnt bei *1*). | | c | (optional) Länge. Volle Länge von Text **a**, falls leer. | ## Beispiele | Parameter a | Parameter b | Parameter c | Ergebnis | | --- | --- | --- | --- | | abcdef | 4 | 3 | def | | abcdef | 4 | 1 | d | | abcdef | 1 | | abcdef |