Mono Class Library: System.String Overview | MembersSystem.String.LastIndexOfAny Method |
Returns the index of the last occurrence of any of specified characters in the provided range of the current instance. [Edit]
|
A int containing the index of the last occurrence of any element of anyOf if found between startIndex and (startIndex - count + 1); otherwise, -1. [Edit]
Type Reason ArgumentNullException anyOf is a null reference. [Edit] ArgumentOutOfRangeException startIndex or count is less than zero.
-or-
startIndex - count is smaller than -1.
[Edit]
The search begins at startIndex and continues until startIndex - count + 1. The character at startIndex - count is not included in the search.
This method is case-sensitive.
[Edit]
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0