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

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

#include <xtd/console>
#include <xtd/string>
using namespace 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
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10