Demo: http://www.trichview.com/support/files/Memo2RV.zip

Code: Select all
var p: Integer;
p := Pos('#13#10', s);
while p>0 do begin
Delete(s, p, 6);
Insert(#13#10, s, p);
p := Pos('#13#10', s);
end;
Code: Select all
AKey:= '#13#10';
Code: Select all
AKey:= #13#10;