StringSegment.LastIndexOfAny method

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.

Return Value

The last index of any of the specified characters in the string segment, or -1 if none of the characters cannot be found.

See Also