Split
Split processes values by splitting them into multiple elements in an object array, objects, or strings.
Interpretation Methods
The processor supports these interpretation methods:
- object
- data
Options
Field | Type | Description | Required |
---|---|---|---|
separator | string | the string that splits the value. | Yes |
Use Cases
Splitting Strings in Objects
Strings can be split within objects to create arrays. For example, if the separator is .
, then the result is:
{"a":"b.c"}
{"a":["b","c"]}
Splitting Data
Data can be split to create a new series of data. For example, if the separator is \n
, then the result is:
a\nb\nc
a
b
c
This use case achieves the reverse of the data aggregation pattern.
Updated over 1 year ago