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