[#absl-StrSplit-0d] = xref:absl.adoc[absl]::StrSplit :relfileprefix: ../ :mrdocs: Overload of `StrSplit()` that filters substrings with a `Predicate`. == Synopsis Declared in `<absl/strings/str_split.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Delimiter, typename Predicate> /* implementation-defined */::Splitter</* implementation-defined */::type, Predicate, std::string_view> StrSplit( /* implementation-defined */::ConvertibleToStringView text, Delimiter d, Predicate p); ---- == Return Value A lazy range of the retained substrings. == Parameters [cols="1,4"] |=== | Name| Description | *text* | The string to split. | *d* | The delimiter identifying the split points. | *p* | The predicate that decides whether a substring is included. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#