I am almost sure it does not store the line feed, but it should be easy enough to check. Just send 6 characters then a line feed and check received_text[6]. if it = 10 then blink an LED or transmit something.

I mostly use the serin2 command and it does not store the end character.

David