2. For example: char * ptr = str. get buffer();
Define an array to accept each character.
Cahr array [10] = "0";
char array[0]= ptr[0];
char array[ 1]= ptr[ 1];
You can also use a loop so that the array holds the characters in CSTRING.