How to use `format` to repeat a character
Bahman Movaqar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 11 03:23:24 PDT 2016
On 07/11/2016 02:44 PM, ketmar wrote:
> On Monday, 11 July 2016 at 09:31:49 UTC, Ali Çehreli wrote:
>> What makes you expect that format should have that feature? :)
I somehow recalled I could do that in C and then there was the "minimum
field width" in the docs, so I thought it's possible I'm just not
understanding the docs clearly :-)
> the fact that format can insert spaces. it is like: "ok, it can do
> spaces. i bet there should be some way to use any character instead of
> space. after all, the implementation would be the same, right?!" and
> then... oops.
That's my story.
Thanks people for your help.
More information about the Digitalmars-d-learn
mailing list