[#absl-ByAnyChar] = xref:absl.adoc[absl]::ByAnyChar :relfileprefix: ../ :mrdocs: A delimiter that will match any of the given byte‐sized characters within its provided string. == Synopsis Declared in `<absl/strings/str_split.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class ByAnyChar; ---- == Description 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. == Member Functions [cols="1,4"] |=== | Name| Description | xref:absl/ByAnyChar/2constructor.adoc[`ByAnyChar`] [.small]#[constructor]# | Constructs a `ByAnyChar` delimiter matching any character in `sp`. | xref:absl/ByAnyChar/Find.adoc[`Find`] | Finds the next matching character in `text` at or after `pos`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#