core / transform / schema v1
Split Text
Split a string by a delimiter into an array
Prerequisites
No connection prerequisite is declared for this node.
Parameters
| Parameter | Type | Description |
|---|---|---|
Texttext | text Required Default: | |
Delimiterdelimiter | text Required Default: | e.g. space, comma, newline (\n) |
Max partslimit | number Optional | |
Trim partstrim | boolean Optional | Remove spaces around each part, so "a, b" splits into "a" and "b" rather than "a" and " b". |
Inputs and outputs
Inputs
execute- Execute (input)
Outputs
done- Done (output)parts- Parts (output)count- Part Count (output)
Output data schema
[
{
"key": "parts",
"type": "array",
"label": "Parts",
"items": {
"key": "part",
"type": "string"
}
},
{
"key": "count",
"type": "number",
"label": "Part Count"
}
]Examples and troubleshooting have not yet been reviewed for this contract.
Version and compatibility
This reference follows the current authoring contract. Existing workflows retain their saved node revisions.
Contract identifier
01d8211a62ceb298ad4e5b81cc551208b793b47504861a9a6f3fa6983961db83