Split
split
Splits a string by a delimiter and returns the result as a dynamic (JSON) array.
Spec
split(source, delimiter) Parameters
source - The string to split.
delimiter - The delimiter string. Return Value
A dynamic (JSON) array of the split parts. Example
datatable(val:string)["a-b-c"]
| extend result = split(val, "-") | val | result |
|---|---|
| a-b-c | ["a","b","c"] |