Function sformat
Produces a string according to the specified format and writes it into an
output range. sformat writes the final string in chunks, so the
output range should be in output range for const(char)[]
.
R sformat(string fmt, R, Args...)
(
R output,
auto ref Args args
)
if (isOutputRange!(R, const(char)[]));
Parameters
Name | Description |
---|---|
fmt | Format. |
R | Output range type. |
output | Output range. |
args | Arguments. |
Returns
output.