String conversion functions in Phobos

Jonathan M Davis jmdavisProg at gmx.com
Tue Aug 2 03:27:17 PDT 2011


On Tuesday 02 August 2011 12:15:00 simendsjo wrote:
> On 02.08.2011 12:07, Jonathan M Davis wrote:
> > The github version has std.utf.toUTFz
> 
> Thanks, I'll try that.
> What about the other way around? * to []?

I believe that it'll work with char* to string with std.conv.to, but I think 
that's it at the moment. Ideally, std.conv.to would do the conversions in both 
directions for all string types, but it doesn't do that yet.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list