But anyway It doesn't seem to be needed?: julia> format_string = "{1} + {2} = {3}\n" "{1} + {2} = {3}" julia> format_expr = f"{1} + {2} = {3}\n" FormatExpr("","",[FormatEntry(ArgSpec(1,false,identity),FormatSpec cls = s typ = s fill = align = < sign = - width = -1 prec = -1 ipre = false zpad = false tsep = false ),FormatEntry(ArgSpec(2,false,identity),FormatSpec cls = s typ = s fill = align = < sign = - width = -1 prec = -1 ipre = false zpad = false tsep = false ),FormatEntry(ArgSpec(3,false,identity),FormatSpec cls = s typ = s fill = align = < sign = - width = -1 prec = -1 ipre = false zpad = false tsep = false )],UTF8String[" + "," = "])
julia> a = 100; b = 200; julia> printfmt(format_string, a, b, a+b) 100 + 200 = 300 julia> printfmt(format_expr, a, b, a+b) 100 + 200 = 300