On Mon, Nov 18, 2019 at 7:25 PM Steven Schveighoffer via
Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
>
>
> You could also use cast(dchar[]), and avoid the cast back to char.
>
> -Steve

or use byCodeUnit

writeln(['a', 'b', 'c'].byCodeUnit.choice);

Reply via email to