JuliaIO / Formatting.jl

Deprecated. See README. (A Julia package to provide Python-like formatting support)
Other
131 stars 23 forks source link

Honor precision for strings #83

Open jmkuhn opened 4 years ago

jmkuhn commented 4 years ago
julia> s = "123456789"
"123456789"

julia> printfmtln("{}--{:6.6s}", s, s) 
123456789--123456789

This should produce 123456789--123456

ScottPJones commented 7 months ago

This is fixed in JuliaString/Format.jl (along with many other bugs), I would recommend moving to Format.jl.