StringLastIndexOfAny Method (Char) |
Reports the zero-based index position of the last occurrence in this instance of one or more characters specified in a Unicode array.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public int LastIndexOfAny(
char[] anyOf
)
Parameters
- anyOf
- Type: SystemChar
A Unicode character array containing one or more characters to seek.
Return Value
Type:
Int32The index position of the last occurrence in this instance where any character in
anyOf was found; -1 if no character in
anyOf was found.
Exceptions See Also