Help to understand a bit of a code! (ESP8266)

Thanks for the help. I will take a look now :slight_smile: But what does the !=-1 do?