Partager via


String.LastIndexOfAny Method

Reports the index number, or character position, of the last occurrence in the current String object of any character within a specified array of Unicode characters.

Overload List

Name Description
String.LastIndexOfAny (Char[]) Reports the index number, or character position, of the last occurrence in the current String object of any character within a specified array of Unicode characters.
String.LastIndexOfAny (Char[], Int32) Reports the index number, or character position, of the last occurrence in the current String object of any character within a specified array of Unicode characters.
String.LastIndexOfAny (Char[], Int32, Int32) Reports the index number, or character position, of the last occurrence in the current String object of any character within a specified array of Unicode characters. The search starts at a specified character position and examines a specified number of character positions.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

String Class
String Members
System Namespace