substituteParamTwice

/ string res;/ bool skipNext = false;// foreach(ch; fmt) {/ if (ch == '%') {/ res ~= "1024"; //to!string(value);/ skipNext = true;/ } else if (!skipNext) {/ res ~= ch;/ skipNext = false;/ }/ }/ return res;/ if (hasPercentSign(fmt))/ return format(fmt, value);/ else/ return fmt;

string
substituteParamTwice
(
immutable string fmt
,
immutable string value
)

Meta