String to char array

I mean I have the String s, and I want to initialize a char array from s, how could I do that?

lloyddean:

char melody[] = { "2d2a" };    // But it will be zero terminated as 2d2a00