Stream::readStringUntil, readStringUntil, Stream.readStringUntil
readStringUntil() reads characters from a stream into a string until a terminator character is detected. The function terminates if it times out.
// SYNTAX stream.readStringUntil(terminator);
- stream : an instance of a class that inherits from Stream
- terminator : the character to search for (char)
Returns: the entire string read from stream, until the terminator character is detected