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
Port this change from botbuilder-dotnet/master branch: microsoft/botbuilder-dotnet#3444
Orignially, indexOf and lastIndexOf just support string implement, for example:
indexOf
lastIndexOf
indexOf('abc', 'b') => 2 indexOf('abc', 'd') => -1 lastIndexOf('abcab', 'ab') => 3
Current, the first parameter support list data type. So, the expression below is valid
indexOf(createArray('abc', 'def', 'ghi'), 'def') => 1 indexOf(json('[\"a\", \"b\"]'), 'a') => 0 lastIndexOf(json('[\"a\", \"b\", \"a\"]'), 'a') => 2 lastIndexOf(createArray('abc', 'def', 'ghi', 'def'), 'def') => 3
The text was updated successfully, but these errors were encountered:
Danieladu
Successfully merging a pull request may close this issue.
Orignially,
indexOf
andlastIndexOf
just support string implement, for example:Current, the first parameter support list data type. So, the expression below is valid
Changed projects
The text was updated successfully, but these errors were encountered: