On Tuesday, 14 August 2018 at 13:45:48 UTC, Mike Franklin wrote:
I think you just need to use the concatenation operator `~`.enum Type : string { One = "Q1", Two = "W2", Three = "R3" }enum concatenation = Type.One ~ " " ~ Type.Two ~ " " ~ Type.Three;void main() { import std.stdio: writeln; writeln(concatenation); } Mike
Hmm, and to do it automatically, not manually?