Skip to content
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

substring support #167

Open
orsigiorgio opened this issue Aug 21, 2018 · 2 comments
Open

substring support #167

orsigiorgio opened this issue Aug 21, 2018 · 2 comments

Comments

@orsigiorgio
Copy link

This is a feature request:

can we use jmespath to perform a substring on a string field?

I am thinking something like this:

Input:

{
  "foo": "someString"
}

substring(0,4,foo) -> 'some'

@jameswilson
Copy link

I'd recommend copying this into https://github.com/jmespath/jmespath.jep/issues

@jameswilson
Copy link

Looks like this request went in as "slice" instead, but basically the same thing: jmespath/jmespath.jep#5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants