how to convert a c string to a d string?
- by Caspin
This is so simple I'm embarrassed to ask, but how do you convert a c string to a d string?
I've got two use cases.
string convert( const(char)* c_str );
string convert( const(char)* c_str, size_t length );