--- title: "left-trim()" slug: "string-left-trim" updated: 2026-08-17T07:45:04Z published: 2026-08-17T07:45:04Z canonical: "docs.lobstersoftware.com/string-left-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. # left-trim() This function removes all non-printable characters and spaces (whitespaces) from the left side of text **a**. ## Parameters | Parameter | Description | | --- | --- | | a | Text | ## Examples Spaces and other whitespaces are displayed as underscores here for better clarity. | Parameter a | Result | | --- | --- | | | | | text | text | | __text__ | text__ |