Please help. How can I Serial.print coming after "Rslt=" (these strings coming from client.read But I want to print only string which comes after Rslt= )
test test test test
test1 test1 test1 test1
test2 test2 test2 test2
test3 test2 test2 test1
test1 rslt=accomplished test2 test3
while(client.connected() && !client.available()) delay(1);
while (client.connected() || client.available()) {
char c = client.read();
Serial.print(c);
in this code, I am reading web service (client.read) and after that I am printing which I read from web service(Serial.print)
when I run serial port monitor, I see strings below
test test test test
test1 test1 test1 test1
test2 test2 test2 test2
test3 test2 test2 test1
test1 rslt=accomplished test2 test3
I want to see only,
accomplished
I dont want to see the other strings (test test1 test2)
You need to build a parser. Lots of ways to go about that. You could cobble together some string functions to extract what you want or you could use a state machine.