how can i get data behind the ipd response from esp-01

so i want to keep the number of the response of ipd from serial monitor, for example

+IPD,3:120CLOSED

i want to keep the value of 120 in my variables

how can i do it? can someone pls help me...

Use the approach from Serial Input Basics to capture the serial messages and leverage the cString functions from stdlib.h and string.h to identify an +IPD message and parse the content