How To Read String from Arduino when the no line ending atarduino serialmonitor

How To Read String from Arduino when the no line ending at arduino serial monitor is selected?

Add start and end of message characters as shown in
Serial input basics - updated

3000eleck:
How To Read String from Arduino when the no line ending at arduino serial monitor is selected?

The line ending setting is for sending data TO the Arduino. It does not affect data coming FROM the Arduino.

...R

Thank you very much for your reply.....you mean using <> these things right? I have tried this one it working....Is there any other method

Is there any other method

If you are talking about the Arduino receiving data that has no line ending then it is going to be complicated. You could send fixed length data so that you know the message is complete by counting characters or if there are gaps between bursts of data then detect the gap and process the previous data packet.

It would help if you were to explain exactly what you are doing.