split¶
Hook for splitting a string into as list based on a separator.
Inputs¶
Name | Type | Default | Required | Description |
---|---|---|---|---|
input | str | True | A string to split into a list | |
separator | str | / | True | String separator |
Arguments¶
Position | Argument | Type |
---|---|---|
1 | input | str |
2 | separator | str |
Returns¶
None
Examples¶
split¶
Splits a string into a list based on a separator
compact->: split stuff-and-things -
expanded:
->: split
input: stuff-and-things
separator: "-"
compact:
- stuff
- and
- things
expanded:
- stuff
- and
- things