We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The spec doesn't explicitly exclude strings from being sliced
Index expressions are defined as
index-expression = expression bracket-specifier / bracket-specifier
and expression includes current node and raw-string as follows
expression
expression =/ function-expression / pipe-expression / raw-string expression =/ current-node
It should be possible then to do the following and not restrict it to JSON array types only
search("FOOBAR", '@[1:3]') // OUTPUTS: 'OO'
The text was updated successfully, but these errors were encountered:
string
slice()
No branches or pull requests
The spec doesn't explicitly exclude strings from being sliced
Index expressions are defined as
and
expression
includes current node and raw-string as followsIt should be possible then to do the following and not restrict it to JSON array types only
The text was updated successfully, but these errors were encountered: