User | Kudos |
---|---|
4 | |
3 | |
3 | |
2 | |
2 |
This will produce a 2. If a string containing sort does not exist this will produce a -1 (not found). The problem with the current implementation of the conditional terminals is that it sets the not found value to the default value for that type.
This example would return 0 if sort does not exist in any of the strings, the same result expected if sort exists in the first string of the array.
I propose the initial condition terminal where you can define what to use if the conditional terminal is false.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.