I have a question i dont really understand for what we use postStr += "\r\n\r\n"
Can anybody explain?
thanks

 Réponse acceptée

Star Strider
Star Strider le 12 Oct 2020

0 votes

It appears to be an instruction to terminate a read or write format string of some sort with a string of 2 carriage returns (the ‘\r’) alternating with newline (the ‘\n’) characters.

7 commentaires

Laura Gautschi
Laura Gautschi le 13 Oct 2020
So do i understand it correct: its just a format thing ?
Rik
Rik le 13 Oct 2020
Very likely, yes.
It isn't valid Matlab syntax. I believe Octave will allow this, although I didn't check.
Star Strider
Star Strider le 13 Oct 2020
Rik — Thank you!
Laura Gautschi
Laura Gautschi le 13 Oct 2020
Thank you guys very much!
Star Strider
Star Strider le 13 Oct 2020
As always, our pleasure!
Abhishek Biswas
Abhishek Biswas le 13 Mai 2021
thanks
Star Strider
Star Strider le 13 Mai 2021
My pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by