Split
Split text into a list by a delimiter.
Command in the String toolkit · id ooa.string/split · 7 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Text | String | Yes | Source text. | |
| Delimiter | String | Yes | Delimiter, e.g. ','. | |
| Trim items | Boolean | No | true | Trim each item. |
| Maximum parts | Number | No | 0 | Split into at most this many parts; the last part keeps the rest. 0 splits at every delimiter. |
| Ignore case | Boolean | No | false | Match a letter delimiter without regard to upper/lower case. |
| Find is a regular expression | Boolean | No | false | Treat the delimiter as a regular expression, e.g. \R for any line break. |
| Remove empty | Boolean | No | false | Leave out empty parts. |
Outputs
| Output | Type | What it is |
|---|---|---|
| items | List | List of parts. |