- Notifications
You must be signed in to change notification settings - Fork13.3k
add Stream::readStringUntil function that uses string terminator#9011
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
d-a-v commentedNov 4, 2023
It is not a breaking change and does not override the Arduino API, so looks good. |
Arian8j2 commentedNov 4, 2023
yes |
d-a-v commentedNov 6, 2023
Can you please add a comment or rename the variable ? |
Arian8j2 commentedNov 7, 2023
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Approving: Next step is to simplifyour calls toreadStringUntil() from our libraries (especially but not onlyparsing-impl.h)
edit (or improveStream::sendUntil() with this same new API) - see#9005)
…8266#9011)* add readStringUntil function with string terminator* rename count parameter to untilTotalNumberOfOccurrences
currently there is a
function, but there is no equivalent of it that uses string terminator. this pr implements
i found this useful for small html parsing or truncating.