find_first_not_of overloads
Declared in <llvm/ADT/StringRef.h>
Find the first character in the string that is not in the string Chars, or npos if not found.
[[nodiscard]]
size_t
find_first_not_of(
StringRef Chars,
size_t From = 0) const;
» more...
Find the first character in the string that is not C or npos if not found.
[[nodiscard]]
size_t
find_first_not_of(
char C,
size_t From = 0) const;
» more...
Index of the first non-matching character, or npos if not found.
The return value should not be discarded.
| Name | Description |
|---|---|
| Chars | Characters that are excluded from the match. |
| From | Index to start searching from. |
| C | Character that is excluded from the match. |