How to converte string to wstring[]?

Marcone marcone at email.com
Sat Feb 8 09:30:36 UTC 2020


On Friday, 7 February 2020 at 06:20:09 UTC, novice2 wrote:
> import std.conv: to;
>
> string str = "test1";
> wstring[] wstr = [to!wstring(str)];

Thank you!


More information about the Digitalmars-d-learn mailing list