Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact
private import tango.io.Stdout;

void main()
{
	auto a = "Hello";
	auto b = "World!";
	
	//Prints Hello World! To the console, formated.
	Stdout.formatln("{} {}", a, b);
	//Prints the same thing.
	Stdout.format("{} {}", a, b).newline; //flush would work just as well.
	
}