I have a transaction where I had to add two segments, and remove 3 others. The final segment is an OBX, which is in the original message. I am manually manipulating the indices for the segments in the TCL proc to have them where I want. But now, I am getting an extra CR at the end but no line feed. Is there a simple command to remove a CR at the end of a message and add a line feed? Thanks in advance for any help you can provide.