I'm calling an external C function which returns a string delivered via a char*. When i print this string out, like this:char* result = func();'
you can then do string r = to!string(result); or char[] r = result[0 .. strlen(result)]; and use that/
I'm calling an external C function which returns a string delivered via a char*. When i print this string out, like this:char* result = func();'
you can then do string r = to!string(result); or char[] r = result[0 .. strlen(result)]; and use that/