StringSegmentLastIndexOf(Char, Int32, Int32) Method

Gets the zero-based index of the last occurrence of the specified value in this StringSegment using the specified startIndex and count values.

Definition

Namespace: KGySoft.CoreLibraries
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public int LastIndexOf(
	char value,
	int startIndex,
	int count
)

Parameters

value  Char
The character to seek.
startIndex  Int32
The search starting position.
count  Int32
The number of character positions to examine.

Return Value

Int32
The zero-based index position of value if that character is found, or -1 if it is not.

See Also