split
Syntax
split(separator, input)<string>.split(separator)Arguments
Examples
"a,b,c".split(",")
// ["a", "b", "c"]split("-", "one-two-three")
// ["one", "two", "three"]$ echo '{"tags": "go,cli,json"}' | dasel -i json 'tags.split(",")'
[
"go",
"cli",
"json"
]Last updated