StringSegmentIndexOfAny(Char) Method

Gets the zero-based index of the first occurrence in this StringSegment of any character in the specified array.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public int IndexOfAny(
	params char[] values
)

Parameters

values  Char
The character values to search.

Return Value

Int32
The zero-based index position of the first occurrence in this StringSegment where any character in the specified array was found; otherwise, -1.

See Also