Use chars in quotes in const char* as name of function
Such a thing is impossible (unless you keep striving; neither have I tried it yet). Judging from your intention, one thing you can do is to create an array of the names of the functions you'd like to use, another array carrying the pointers to the functions and a programme to call the function according to the input text. I haven't tried it myself, so perhaps I may not sound sensible, but that is the only thing that came to my mind.
An example:
String function_names[3] = {&quot;foo&quot;, &quot;bar&quot;, &quot;quux&quot;}; /* I am not sure of this syntax; 
                                                corrections are welcome */
int *functions[3] = {&amp;foo, &amp;bar, &amp;quux};

String input;
 
void setup(){
        Serial.begin(9600);
}

void loop(){
        while(Serial.available()){
              String temp_input = Serial.readString()
              input = (temp_input == &quot;&quot;)? String(&quot;Nothing here&quot;) : temp_input;
              execute(input);
        }
        delay(1000);
}

void execute(String func_name){
        for(int i = 0; i &lt; 3; i++){
              if(function_names[i] == func_name){
                     *functions[i]();
              }
         }
}

int foo(){
    Serial.println(&quot;foo&quot;);
    return(0);
}

int bar(){
    Serial.println(&quot;bar&quot;);
    return(0);
}

int quux(){
    Serial.println(&quot;quux&quot;);
    return(0);
}