assertEquals(0, indexOfAny("-+", ['-', '+'])); assertEquals(2, indexOfAny("11a", ['a'])); assertEquals(-1, indexOfAny("11", ['a']));
See Implementation