StringLastIndexOf Method (Char) |
Reports the zero-based index position of the last occurrence of a specified Unicode character within this instance.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public int LastIndexOf(
char value
)
Parameters
- value
- Type: SystemChar
The Unicode character to seek.
Return Value
Type:
Int32The zero-based index position of
value if that character is found, or -1 if it is not.
See Also