This is the situation : - Direct Transfer Activity between Lotus Notes and text-file - certain document contains item which contains carriage return So I tried to put data transformation in the Lotus Notes connection : FIELD Email := @ReplaceSubstring(Email; @NewLine : @char(10) :@Char(13) ; ""); Result text-file (not good because carriage return is still there : "";"test@domain.com ";"" If I put the following transformation : FIELD Email := @ReplaceSubstring(Email; @NewLine : @char(10) :@Char(13) ; "_"); Result text-file (no carriage return but naturally additional character): "";"test@domain.com_";"" I don't find any way to get rid of the carriage return without any additional character I check the value of the item and the 2 last characters are indeed : char(13) & char(10) Any help would be most welcome