indexOfAny

Undocumented in source. Be warned that the author may not have intended to support it.
@safe pure @nogc nothrow
ptrdiff_t
indexOfAny
(
string str
,
in char[] chars
)

Examples

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

Meta