Arduino Programming Language: Stream.readStringUntil

Name

readStringUntil()

Description

Reads characters from a stream into a string. The function terminates if the terminator character is detected or it times out (see setTimeout()).

Syntax

stream.readString(terminator)

Parameters

  • terminator : the character to search for (char)

Returns

 The entire string read from a stream, until the terminator character is detected


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc