Formatted Output

This lesson discusses features of the std.format module, which is a module inside Phobos, a standard library of D.

Formatted output #

std.format module is not about the core features of the D language. Like all modules that have the prefix std, std.format is a module inside Phobos, the standard library of D.
D’s input and output format specifiers are similar to the ones in the C language. The format specifiers and flags are summarized as follows:

Get hands-on with 1200+ tech skills courses.