Now I am trying an opposite case…
I want the test to return "true’ only if it satisfies 2 conditions:
- it contains ‘010’
- it doesn’t contain ‘100’ and ‘001’
Reversing the script, I wasn’t able to achieve the desired result. Index 6 (which contains ‘100’ and ‘001’) should return “false”.
Any help is appreciated. Thanks.
Zirjay