class ByAsciiWhitespace

Defined at line 146 of file ../../third_party/abseil-cpp/src/absl/strings/str_split.h

ByAsciiWhitespace

A sub-string delimiter that splits by ASCII whitespace

(space, tab, vertical tab, formfeed, linefeed, or carriage return).

Note: you probably want to use absl::SkipEmpty() as well!

This class is equivalent to ByAnyChar with ASCII whitespace chars.

Example:

std::vector

<std

::string> v = absl::StrSplit(

"a b\tc\n d \n", absl::ByAsciiWhitespace(), absl::SkipEmpty());

// v[0] == "a", v[1] == "b", v[2] == "c", v[3] == "d"

Public Methods

absl::string_view Find (absl::string_view text, size_t pos)