my_char_is/my_char_isin_str.c code example
Example: c++ string to char array
const char *array = tmp.c_str(); //For const char array
char *array = &tmp[0]; // If you need to modify the array
const char *array = tmp.c_str(); //For const char array
char *array = &tmp[0]; // If you need to modify the array