Walter Bright wrote: > I'm not sure how useful this will be. > > Here it is: http://www.digitalmars.com/d/htod.html One case that it doesn't handle but would seem to be simple is: #define FOO "bar" | v const char[] FOO = "bar\0"; //explicitly null terminate