ComfyUI Node
split (to LIST)
Splits the string at the specified separator. This node splits the input string at the specified separator and returns a data list containing all parts. If maxsplit is provided, at most maxsplit splits are done. If the separator is not specified or is None, any whitespace string is a separator. Creates a LIST of strings.
split (to LIST)
- LIST
◄string►
◄sep►
◄maxsplit-1►
CategoryBasic/STRING
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| string | STRING | — | |
| sepopt | STRING | — | |
| maxsplitopt | INT | -1 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| LIST | LIST | — |