How to converte string to wstring[]?

novice2 sorrybo at ema.ail
Fri Feb 7 06:20:09 UTC 2020


import std.conv: to;

string str = "test1";
wstring[] wstr = [to!wstring(str)];


More information about the Digitalmars-d-learn mailing list