On 4/5/11, Jonathan M Davis <[email protected]> wrote:
> Not to mention, in the case above, a null
> character should automatically be appended onto the end of the string, since
> it's as string literal.

I've always found this confusing. So If I have this char array:
char[] foostring = "foo".dup;

null is appended to it? So what happens to the null terminator if I
append another string to foostring? And if I do a copy, e.g.
foostring[0..$], does this still copy a null terminator?

Reply via email to