> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.66/nedyx/clearlines-functions/text-functions/trim.md).

# TRIM

#### Syntax <a href="#syntax.59" id="syntax.59"></a>

**TRIM**(*text*)

* *text* - the text from which the trailing paces should be removed - ***Value type**: text*

#### Remarks <a href="#remarks.43" id="remarks.43"></a>

* Tabs (ASCII value 9), line feed (ASCII value 10), carriage return (ASCII value 13) and blanks (ASCII value 32) are removed at the beginning and the end of the text.
* Non-breakable spaces (ASCII value 160) are preserved.

#### Example

<figure><img src="/files/IIszxPfkJSrSoJLjFPlb" alt=""><figcaption></figcaption></figure>
