--- title: "find-substring()" slug: "string-find-substring" updated: 2025-11-13T06:53:35Z published: 2025-11-14T02:46:29Z canonical: "docs.lobstersoftware.com/string-find-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. # find-substring() Liefert die Position (beginnend bei *1*) des ersten Vorkommens von **b** innerhalb von **a**, wobei **c** die Startposition (beginnend bei *1*) ist, ab der gesucht werden soll. Wird der gesuchte Text nicht gefunden, ist das Ergebnis *0*. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Text. | | b | Suchtext. | | c | (optional) Startposition der Suche (beginnend bei *1*). Default: *1.* | ## Beispiele | Parameter a | Parameter b | Parameter c | Ergebnis | | --- | --- | --- | --- | | abcabc | c | | 3 | | abcabc | c | 4 | 6 | | abcabc | a | 1 | 1 | | abcabc | d | | 0 |