StringSegmentLastIndexOf(Char, StringComparison) Method
Gets the zero-based index of the last occurrence of the specified
value in this
StringSegment
using the specified
comparison.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public int LastIndexOf(
char value,
StringComparison comparison
)
Public Function LastIndexOf (
value As Char,
comparison As StringComparison
) As Integer
public:
int LastIndexOf(
wchar_t value,
StringComparison comparison
)
member LastIndexOf :
value : char *
comparison : StringComparison -> int
- value Char
- The character to seek.
- comparison StringComparison
- A StringComparison value that specified the rules for the search.
Int32The zero-based index position of
value if that character is found, or -1 if it is not.