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.
The text to split. Required.
Outputs
The resulting segments as an array.
Configuration
The character or characters to split on. Use \n for newlines.
Remove leading and trailing whitespace from each segment.
Drop segments that are empty after splitting.