Read substring via wifi

I don't know what device you are using, in this example with ESP32 I use the function if (req.indexOf("on2") != -1) to check the information received.

1 Like