Shows how to use xtd::string::split method.
#include <xtd/xtd>
auto main() -> int {
auto strings = string(
"One Two Three\tFour\nFive").
split();
console::write_line("strings.size = {}", strings.length());
for (auto string : strings)
console::write_line(string);
}
xtd::array< basic_string > split() const noexcept
Splits this basic_string into substrings that are based on the default white-space characters....