Is this bug ? format %(%)

novice3 sorryno at em.ail
Wed Apr 7 13:31:59 UTC 2021


https://run.dlang.io/is/p4NVp8
```d
void main()
{
     import std.stdio: writefln;
     string[] s = ["a", "b", "c"];
     writefln("%(%s, %)", s);
}
```
output
```d
"a", "b", "c"
```
expected
```d
a, b, c
```

there is extra quotes, wich not present in firmat specifier.
is this bug, or i should change something in my code?


More information about the Digitalmars-d-learn mailing list