FormatSpec.writeUpToNextSpec

bool writeUpToNextSpec(OutputRange)(ref OutputRange writer) scope

Writes the format string to an output range until the next format specifier is found and parse that format specifier.

See the description of format strings for more details about the format specifier.

Parameters

writeran output range, where the format string is written to
OutputRangetype of the output range

Returns

True, if a format specifier is found and false, if the end of the

format string has been reached.

Throws

A FormatException

when parsing the format specifier did not succeed.