ComfyUI Node
StringSplit (Yogurt Nodes)
Split a string into a list
StringSplit (Yogurt Nodes)
- list_result
◄text—►
◄separator,►
◄max_split-1►
◄strip_itemstrue►
CategoryYogurtNodes/Logic
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Text to split | |
| separatoropt | STRING | , | Separator to split on (empty string splits every character) |
| max_splitopt | INT | -1 | Maximum number of splits (-1 for no limit) |
| strip_itemsopt | BOOLEAN | true | Strip whitespace from each item |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| list_result | * | — |