On Friday, 30 December 2022 at 04:43:48 UTC, Salih Dincer wrote: > ... > // example one: > char[] str1 = "cur:€_".dup; > ... > // example two: > dchar[] str2 = cast(dchar[])"cur:€_"d; > ... > SDB at 79 why you use .dup it example one, but not use in example two? dchar[] str2 = cast(dchar[])"cur:€_"d.dup;