Hello, i'm trying to use the function readStringUntil('\r') to store a in a String variable a message received from a tcp client and perform some actions... When i call
String str = client.readStringUntil('\r'); Serial.println(str);
some seconds later i receive a strange reply in Serial monitor.
This is what i received
if in the tcp client i wrote something, i receive, only for the first print these carachters and then the string i put in the tcp client.