Function charArrayToString
Converts a static char array to string. The static char array may or may not be null terminated
ref string charArrayToString(T)
(
in T str
) pure @safe
if (isArray!T '&!isSomeChar!(ForeachType!T));