Skip to content

readStringUntil(): unclear whether including or not including delimiter #446

Closed
@teo1978

Description

@teo1978

https://www.arduino.cc/en/Reference/StreamReadStringUntil

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

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

It is unclear whether the returned string includes the terminator or not.

I seem to understand it is included; if that is the case, it could easily be stated more explicitly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions