How to display an entire incoming string from the serial monitor in arduino ide?
If you really want a string. Try using Serial.readString(). It will return the full string.

The code could look like this:

if(Serial.available()
{
  string message = Serial.readString();
  Serial.println(message);
}