xtd 0.2.0
Loading...
Searching...
No Matches
join.cpp

Shows how to use xtd::string::join method.

#include <xtd/xtd>
auto main() -> int {
auto result_str = string::join(", ", {"One", "Two", "Three", "Four", "Five"});
console::write_line(result_str);
}
// This code produces the following output :
//
// One, Two, Three, Four, Five