# TRIM

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

**TRIM**(*text*)

* *text* - der Text, aus dem die umgebenden Leerzeichen entfernt werden sollen - ***Wertetyp**: Text*

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

* Tabulatoren (ASCII-Wert 9), Zeilenvorschub (ASCII-Wert 10), Wagenrücklauf (ASCII-Wert 13) und Leerzeichen (ASCII-Wert 32) werden am Anfang und am Ende des Textes entfernt.
* Nicht trennbare Leerzeichen (ASCII-Wert 160) bleiben erhalten.

#### Beispiel

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nedyx.com/version-1.52-de-preview/clearlines-funktionen/text-funktionen/trim.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
