how to convert string in char code example
Example 1: string to char*
std::string str = "string";
const char *cstr = str.c_str();
Example 2: how to change char to string
from character to string:
char c = 'a';
String s = Character.toString(c);
//s == "a"