Range format specifiers in other languages?
Imperatorn
johan_forsberg_86 at hotmail.com
Mon Oct 12 05:51:21 UTC 2020
On Monday, 12 October 2020 at 00:59:33 UTC, Adam D. Ruppe wrote:
> On Monday, 12 October 2020 at 00:46:37 UTC, Imperatorn wrote:
>> To people trying to learn, why is that % before ( needed in
>> the format string?
>
> The %( ... %) stuff is expanded and repeated for each element
> inside the given array.
Thanks, it seems there are some pretty powerful formatting
options:
https://dlang.org/phobos/std_format.html
More information about the Digitalmars-d-learn
mailing list