jmespath.py icon indicating copy to clipboard operation
jmespath.py copied to clipboard

[Proposal] add "split" function - `array[string] split(string $separator, string $subject)`

Open morokin opened this issue 7 years ago • 3 comments

Just copy of issue opened by @biochimia: https://github.com/jmespath/jmespath.site/issues/35

I propose the addition of a split() function, counterpart to the already standard join() function. split breaks a string into an array of substrings that are separated by $separator in the original $subject.

(Not entirely unlike Python's string.split() function)

morokin avatar Apr 04 '18 09:04 morokin