-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Proposal] add "split" function - array[string] split(string $separator, string $subject)
#26
Comments
Personally I also looked for the split function (I'm heavily using jmespath in ansible playbooks). I mean - it's little bit uncomfortable to have join function and not to have split |
array[string] split(string $separator, string $subject)
array[string] split(string $separator, string $subject)
Maybe the concrete Python implementation is also not the right place for this issue, as the language specific implementation follows the spec... so the right place for the enhancement wishes is the spec, which has no own repository, but lives in the site? :) Here or there, I'd also be interested in the feature. I'd be interested to hear an idea from the project maintainer how we can go about implementing such enhancements ourselves. The issue and pull requests in the project seem to be pretty abandoned. |
We also have an issue with the absence of a string |
Just copy of issue opened by @biochimia: jmespath/jmespath.site#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)
The text was updated successfully, but these errors were encountered: