PLEASE HELP! I have this String i recieve over wifi (esp8266)
[1023:1023:1023]
I want to split this up so i end up with 3 (int)Values
This is what i tried, but doesn’t work.
String val = webServer.arg(i); // [1023:1023:1023]
String trash = val.readStringUntil(‘[‘);
scanResultsRed[i]= (val.readStringUntil(‘:’).toInt;
scanResultsGreen[i]= (val.readStringUntil(‘:’).toInt;
scanResultsBlue[i]= (val.readStringUntil(‘]’).toInt;
With this code i get this error:
‘class String’ has no member named ‘readStringUntil’
Can someone help me out?