StringExtensionIndexOfAny Method

Overload List

IndexOfAny(String, ReadOnlySpanChar)Returns the zero-based index of the first occurrence of one of the the specified characters in s.
IndexOfAny(String, ReadOnlySpanChar, Int32)Returns the zero-based index of the first occurrence of one of the the specified characters in s. The search starts at the specified startIndex.
IndexOfAny(String, ReadOnlySpanChar, Int32, Int32)Returns the zero-based index of the first occurrence of one of the the specified characters in s. The search begins at a specified index and a specified number of character positions are checked.

See Also