Your script works perfectly.
In reply to Re^2: Inserting a line in the middle of a text by goude in thread Inserting a line in the middle of a text by goude