Glad that helped -
I'm thinking this might be better than find()
String parseBetween(String start, String end, String text){
text = text.substring(text.indexOf(start));
text = text.substring(0,text.indexOf(end));
return text;
}
If you put that outside of loop and setup in your sketch then you can just do (again untested)
wifi.get("digistump.com","/test.txt");
String body = wifi.body();
float pit = parseBetween("<pit>","<",body).toFloat();