[#absl-StrSplit-02] = xref:absl.adoc[absl]::StrSplit :relfileprefix: ../ :mrdocs: Overload of `StrSplit()` that takes ownership of a `std::string` input. == Synopsis Declared in `<absl/strings/str_split.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename Delimiter, typename StringType, xref:absl/EnableSplitIfString.adoc[EnableSplitIfString<StringType>] = 0> /* implementation-defined */::Splitter</* implementation-defined */::type, AllowEmpty, std::string> StrSplit( StringType&& text, Delimiter d); ---- == Return Value A lazy range of substrings convertible to the caller's collection. == Parameters [cols="1,4"] |=== | Name| Description | *text* | The string to split; ownership is transferred to the result. | *d* | The delimiter identifying the split points. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#