--- title: "ends-with()" slug: "string-ends-with" updated: 2025-11-13T06:53:53Z published: 2025-11-14T02:46:29Z canonical: "docs.lobstersoftware.com/string-ends-with" --- > ## 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. # ends-with() Liefert *true*, wenn der Text **a** mit der Zeichenfolge **b** endet, sonst *false*. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Text. | | b | Zu überprüfender Suffix. | ## Beispiele | Parameter a | Parameter b | Ergebnis | | --- | --- | --- | | abcdef | 1 | false | | abcdef | f | true | | abcdef | def | true | | abcdef | abcdef | true | | abcdef | abcdefg | false |