Returns the last index of any of the specified characters in the string segment.
public int LastIndexOfAny(params char[] anyOf)
parameter | description |
---|---|
anyOf | The characters to find. |
The last index of any of the specified characters in the string segment, or -1 if none of the characters cannot be found.