formatAs

UFCS helper

string
formatAs
(
T
)
(
auto ref T obj
,
string fmt
)

Examples

t
{
	assert(5.formatAs("%03d") == "005"

Meta