i am sending one string from HTTP to ESP8266 WiFi. here i need to add acknowledgment for the http server if i have received the data successfully. basically i want to add a word in the last of string which will act like an identifier .
Suppose i am sending one message from HTTP such as "I am message from HTTP server OK".
Here the last word "OK" will act as an identifier to send back the acknowledgement.
So is there any short way to detack the "OK" from the Complete string "I am message from HTTP server OK".
After successfully detaching i will use it to reply.
Suppose in arduino,
String received = "";
reply back "Received" to server;
how to do this?