> For the complete documentation index, see [llms.txt](https://help.aiaibot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aiaibot.com/robot/plugins/textverarbeitung/teilen-eines-textes.md).

# Teilen eines Textes

Mit dem Plugin <img src="/files/AQaXjfVnZqJ07npywI2J" alt="" data-size="line"> *Teilen eines Textes* lässt sich ein Text in mehrere Teile splitten. Mit einem regulären Ausdruck legen Sie fest, wie der Text geteilt werden soll.

<figure><img src="/files/qCqbfDv34ac3JExabi0Y" alt="" width="293"><figcaption></figcaption></figure>

## Parameter "Eingabetext"

Im Eingabefeld *Eingabetext* wählen Sie den Text aus, den Sie auftrennen möchten.

## Parameter "Regulärere Ausdruck"

Im Feld *Regulärer Ausdruck* erfassen Sie den regulären Ausdruck zum Splitten des Textes.

## Parameter "Max. Anzahl"

Möchten Sie das Ergebnis auf eine maximale Anzahl begrenzen, kann dieser Wert im Feld *Max. Anzahl* eingegeben werden. Würden das Ergebnis aus mehr Teilen bestehen, wird der letzte Teil alle verbleibenden Teile beinhalten.

{% hint style="warning" %}
Sollte das Aufteilen des Textes mehr Teile ergeben als mit diesem Parameter definiert, beinhaltet der letzte Teil den verbleibenden Rest vom Eingabetext. Siehe Beispiele unten.
{% endhint %}

## Parameter "Ergebnis"

Das *Ergebnis* ist eine Variable vom Typ `collection`, die Sie aus der Auswahlbox auswählen können.

## Parameter "Anzahl der Teile"

Optional kann auch eine Variable vom Typ `integer` für den Parameter *Anzahl der Teile* gewählt werden.

## Beispiele

Das Zeichen `"` wird hier verwendet, um die Grenzen eines Textes besser darzustellen.

Die Zeichen `[` und `]` werden hier verwendet um anzuzeigen, dass es sich um eine Collection handelt.

<table data-full-width="true"><thead><tr><th>Text</th><th>Regulärere Ausdruck</th><th>Max. Anzahl</th><th>Ergebnis</th></tr></thead><tbody><tr><td><code>"ab:cd:ef"</code></td><td><code>:</code></td><td>-</td><td>[<code>"ab", "cd", "ef"</code>]</td></tr><tr><td><code>"ab:cd:ef"</code></td><td><code>@</code></td><td>-</td><td>[<code>"ab:cd:ef"</code>]</td></tr><tr><td><code>"ab:cd:ef"</code></td><td><code>:</code></td><td>2</td><td>[<code>"ab", "cd:ef"</code>]</td></tr><tr><td><code>"ab:cd::ef"</code></td><td><code>:</code></td><td>-</td><td>[<code>"ab", "cd", "", "ef"</code>]</td></tr><tr><td><code>"The quick brown fox jumps over the lazy taxi."</code></td><td><code>\s</code></td><td>-</td><td>[<code>"The", "quick", "brown", "fox", "jumps", "over", "the", "lazy", "taxi."</code>]</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.aiaibot.com/robot/plugins/textverarbeitung/teilen-eines-textes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
