Hiya,
First off, apologise if my title for this question is not correct or clear!
Second off my question! I am currently trying to setup a little project that will allow me to open my browser, browse to my Arduino via the Ethernet shield (192.168.0.20), get a htm page displayed which is sent from the Arduino, on that page be able to type into a forms "text input" some text e.g. ExampleText, and then have this sent in the top URL bar to the Arduino so that it can then take that text from the query string and print it to the attached LCD display!!
OK so far I have all the server part working, the page loads, I can enter the text into the box and hit submit. This text is then sent to the Arduino where I can then see it if I print the following data to the serial monitor.
If the text entered is ExampleText the URL at the top is:
http://192.168.0.20/?box=ExampleText
And the entire text received by the Arduino is:
GET /?box=ExampleText HTTP/1.1
Host: 192.168.0.20
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.76 Safari/537.36
Referer: http://192.168.0.20/
Accept-Encoding: gzip,deflate
Accept-Language: en-GB,en-US;q=0.8,en;q=0.6
Currently the second larger block of text is saved one character at a time into a newly declared String variable called HTTP_req. However the reason I am stuck is because I now want a way of taking whatever text is between "?box=" and "HTTP/1.1" in the above block of text, then save this is to a new string variable so I literally have that value isolated in a new variable ready to print to LCD.
So any answers would be great, there surly must be an easy way to do that!?
Thanks!