Overload of StrSplit() that takes ownership of a std::string input.
Declared in <absl/strings/str_split.h>
template<
typename Delimiter,
typename StringType,
EnableSplitIfString<StringType> = 0>
/* implementation-defined */::Splitter</* implementation-defined */::type, AllowEmpty, std::string>
StrSplit(
StringType&& text,
Delimiter d);
A lazy range of substrings convertible to the caller's collection.
| Name | Description |
|---|---|
| text | The string to split; ownership is transferred to the result. |
| d | The delimiter identifying the split points. |