singleSpec

fnFormatSpec!Char singleSpec(Char)(Char[] fmt)

Helper function that returns a FormatSpec for a single format specifier.

Parameters

fmta format string containing a single format specifier
Charcharacter type of fmt

Returns

A FormatSpec with the format specifier parsed.

Throws

A FormatException when the

format string contains no format specifier or more than a single format specifier or when the format specifier is malformed.