--- title: "contains()" slug: "string-contains" updated: 2025-11-13T06:54:20Z published: 2025-11-14T02:46:29Z canonical: "docs.lobstersoftware.com/string-contains" --- > ## 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. # contains() Liefert true zurück, falls **b** in **a** vorkommt. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Text, in dem gesucht wird. | | b | Suchbegriff. | ## Beispiele | Parameter a | Parameter b | Ergebnis | | --- | --- | --- | | Hallo | all | true | | Hallo | lle | false |