Reading +IPD response from serial.read() using Arduino UNO and ESP8266

Look at my code in my post i have different problem but ipd thing solve by reading to char array until terminating ‘\n’ then process whatever you get and continue reading second line.