Print Fails

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

How about, oh, I don't know, maybe posting some CODE?

code code code code
code code code code
code code code code
code POST IT!! code
code code code code

Post the code that doesn't work.

I do not really understand what you are asking.

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)

So don't print them?

If you want more help then provide more code. All of it for instance.

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.

Thank you Mr. DavidOConnor
Your post is my answer which I need. Now I must search parser :slight_smile: