Closed dsyleixa closed 3 years ago
It is a method of the Stream
class, not of the String
class. So it is documented in the Stream
reference:
https://www.arduino.cc/reference/en/language/functions/communication/stream/streamreadstringuntil/
yes, I just noticed that by myself (cross-over posted/edited). Nonetheless I would appreciate to have that additionally to substr() or whatever:
String s, str ="123456789abc";; s=str.readStringUntil('a'); Serial.println(s);
error, exit status 1 'class String' has no member named 'readStringUntil'