b, c, h = http.request("http://www.google.com/")
function love.draw()
if string.find(table.concat(explode("\r",table.concat(explode("\n",b:lower())))),string.lower([[<div id="pocs" style="display: none; position: absolute; "><div id="pocs0"><span><span>Google</span> Instant is unavailable. Press Enter to search.</span><a href="/support/websearch/bin/answer.py?answer=186645&form=bb&hl=en-GB">Learn more</a></div><div id="pocs1"><span>Google</span> Instant is off due to connection speed. Press Enter to search.</div><div id="pocs2">Press Enter to search.</div></div>]]),1,true) then
love.graphics.print("works!!!",0,0)
end
--love.graphics.print(table.concat(explode("\r",table.concat(explode("\n",b)))),0,0)
--print(table.concat(explode("\n",b)))
end
ive tested it with [[<!doctype html>]] and it works, so it must be long strings, can you please help?
If you want more help, you gotta give more information, because it looks to me like it should work. Are you sure even the white space and such is correct?