UriParser.indexOfAny

ptrdiff_t indexOfAny(string chars) const @safe

Return the lowest index of any character from chars in the input, or -1.

Parameters

charsSet of characters to search for.

Returns

The lowest index of any matching character, or -1 if none are present.