[#absl-SkipWhitespace] = xref:absl.adoc[absl]::SkipWhitespace :relfileprefix: ../ :mrdocs: Returns `false` if the given `absl::string_view` is empty _or_ contains only whitespace, indicating that `StrSplit()` should omit the string. == Synopsis Declared in `<absl/strings/str_split.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct SkipWhitespace; ---- == Description Example: std::vector<std::string> v = absl::StrSplit(" a , ,,b,", ',', SkipWhitespace()); // v[0]== " a ", v[1]== "b" // SkipEmpty() would return whitespace elements std::vector<std::string> v = absl::StrSplit(" a , ,,b,", ',', SkipEmpty()); // v[0]== " a ", v[1]== " ", v[2]== "b" == Member Functions [cols="1,4"] |=== | Name| Description | xref:absl/SkipWhitespace/operator_call.adoc[`operator()`] | Returns `true` if `sp` contains a non‐whitespace character. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#