Here is my code: result: It shows only the first segment, seems simple but I don’t know what i’m doing wrong. I’ve tried from a text file, passing the message directly or even with another HL7 message, but always got same results. Here is the message: Here is my message in notepad++ where all characters are shown: Answer by disabling