--- title: "normalize-space()" slug: "string-trim" updated: 2025-11-13T06:53:10Z published: 2025-11-14T02:46:29Z canonical: "docs.lobstersoftware.com/string-trim" --- > ## 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. # normalize-space() Entfernt alle führenden und nachfolgenden nicht druckbaren Zeichen sowie Leerzeichen (Whitespaces) von Text **a**. ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Text. | ## Beispiele Leerzeichen und andere Whitespaces werden als Unterstriche zur besseren Lesbarkeit dargestellt. | Parameter a | Ergebnis | | --- | --- | | | | | text | text | | __text__ | text | | __sample_text__ | sample_text |