StringSegmentLastIndexOfAny(Char, Int32, Int32) Method
Gets the zero-based index of the last occurrence in this
StringSegment of any character in the specified array
using the specified
startIndex and
count values.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public int LastIndexOfAny(
char[] values,
int startIndex,
int count
)
Public Function LastIndexOfAny (
values As Char(),
startIndex As Integer,
count As Integer
) As Integer
public:
int LastIndexOfAny(
array<wchar_t>^ values,
int startIndex,
int count
)
member LastIndexOfAny :
values : char[] *
startIndex : int *
count : int -> int
- values Char
- The character values to search.
- startIndex Int32
- The search starting position.
- count Int32
- The number of character positions to examine.
Int32The zero-based index position of the first occurrence in this
StringSegment where any character in the specified array was found; otherwise, -1.