On Saturday, 7 March 2020 at 16:30:59 UTC, Robert M. Münch wrote:
Which of course doesn't work... I didn't find any reference how to build-up strings in a statif foreach loop.Is this possible at all?
Use regular foreach with a regular string. Put that inside a function.
Then simply use that function to initialize your other thing and enjoy the magic of CTFE!