jmespath / jmespath/jmespath.site

New function: `array[string] split(string $separator, string $subject)`

Open
#35 2 comments 48 reactions 0 assignees View on GitHub
Dominant language
Makefile
Stars
61
Forks
61
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.