For what is this: postStr += "\r\n\r\n"

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

 Risposta accettata

Star Strider
Star Strider il 12 Ott 2020

0 voti

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 Commenti

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

Accedi per commentare.

Più risposte (0)

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by