get a number from string

Rebelstudios:
hey guys
i have a string comming in over bleutooth
example
p2000e99a63b73
i only need the number behind the 'e' (99) and to be sure i like to serial print it in the monitor
i hope to find a code like
Serial.println(substring( get the number behind e )) <-- but this is not actually working :confused:

try this out

char MyStr[] = "p2000e99a63b73";
Serial.println(atoi(strchr(MyStr,'e') + 1));

atoi converts the string to an integer
strchr finds the position of the letter e
so your number is located in the array position following the e so add 1 to its location
Z