Best alternatives to convert String to int efficiently

Maybe this will help...

String input = "H15";
String tmp = input.substring(1);

int number = atoi(tmp.c_str());

//number should now contain 15