expected array behaviour

Mike James foo at bar.com
Thu Jan 1 16:10:18 PST 2009


Got it - so I should do this...

const char[] array1= "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
char[]  array2 = new char[array1.length];

and then copy the contents of array1 into array2.

Regards,

-=mike=-


More information about the Digitalmars-d-learn mailing list