jmespath.py
jmespath.py copied to clipboard
substring support
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'
I'd recommend copying this into https://github.com/jmespath/jmespath.jep/issues
Looks like this request went in as "slice" instead, but basically the same thing: https://github.com/jmespath/jmespath.jep/issues/5