Shows how to use xtd::string::format method.
#include <xtd/console>
#include <xtd/environment>
#include <xtd/string>
#include <iostream>
auto main() -> int {
console::out << string::format("{0,10} {1} {2:D3} {3}", "string"_s, "literal", 42, 'a') << environment::new_line;
}
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10