class ByAnyChar
Defined at line 200 of file ../../third_party/abseil-cpp/src/absl/strings/str_split.h
ByAnyChar
A delimiter that will match any of the given byte-sized characters within
its provided string.
Note: this delimiter works with single-byte string data, but does not work
with variable-width encodings, such as UTF-8.
Example:
using absl::ByAnyChar;
std::vector
<std
::string> v = absl::StrSplit("a,b=c", ByAnyChar(",="));
// v[0] == "a", v[1] == "b", v[2] == "c"
If `ByAnyChar` is given the empty string, it behaves exactly like
`ByString` and matches each individual character in the input string.
Public Methods
void ByAnyChar (absl::string_view sp)
absl::string_view Find (absl::string_view text, size_t pos)