[#absl-SkipEmpty] = xref:absl.adoc[absl]::SkipEmpty :relfileprefix: ../ :mrdocs: Returns `false` if the given `absl::string_view` is empty, indicating that `StrSplit()` should omit the empty string. == Synopsis Declared in `<absl/strings/str_split.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct SkipEmpty; ---- == Description Example: std::vector<std::string> v = absl::StrSplit(",a,,b,", ',', SkipEmpty()); // v[0]== "a", v[1]== "b" Note: `SkipEmpty()` does not consider a string containing only whitespace to be empty. To skip such whitespace as well, use the `SkipWhitespace()` predicate. == Member Functions [cols="1,4"] |=== | Name| Description | xref:absl/SkipEmpty/operator_call.adoc[`operator()`] | Returns `true` if `sp` is non‐empty. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#