Formatting.jl
Formatting.jl copied to clipboard
Honor precision for strings
julia> s = "123456789"
"123456789"
julia> printfmtln("{}--{:6.6s}", s, s)
123456789--123456789
This should produce 123456789--123456
This is fixed in JuliaString/Format.jl (along with many other bugs), I would recommend moving to Format.jl.