> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orisu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Split Text

> Break text into segments by a delimiter.

Split Text divides incoming text into segments on a delimiter, with options to trim whitespace and drop empty segments. The result is an array you can pass to nodes that iterate or select.

## When to use

* Break a list into individual lines
* Tokenize a simple list into separate items

Common pattern: `text_prompt → split_text → list_selector`.

## Inputs

<ParamField body="Text" type="text" required>
  The text to split. Required.
</ParamField>

## Outputs

<ParamField body="Segments" type="text">
  The resulting segments as an array.
</ParamField>

## Configuration

<ParamField body="delimiter" type="string" default="\n">
  The character or characters to split on. Use `\n` for newlines.
</ParamField>

<ParamField body="trimWhitespace" type="boolean" default="true">
  Remove leading and trailing whitespace from each segment.
</ParamField>

<ParamField body="removeEmpty" type="boolean" default="true">
  Drop segments that are empty after splitting.
</ParamField>
