import std.stdio; import std.string : format; void printGreeting (string name) { writeln ("Hello, I am %s.".format (name)); }