Method ExtString.LastIndexOfNot
Overload
Finds the last character not specified in chars. Returns its index, or -1 if not found.
public static int LastIndexOfNot(this ReadOnlySpan<char> t, string chars)
Parameters
t (ReadOnlySpan<char>)
This string. |
chars (string)
Characters. |
Returns
Exceptions
ArgumentNullException
chars is |