function ClearCR(Str: String): String;
var
i: Integer;
p: PChar;
begin
Result:= '';
p:= Point(Str);
while p^<>#0 do
begin
if p^<>#13 then Result:=Result+p^;
Inc(p); //
end;
end;
function ClearCR(Str: String): String;
var
i: Integer;
p: PChar;
begin
Result:= '';
p:= Point(Str);
while p^<>#0 do
begin
if p^<>#13 then Result:=Result+p^;
end;
end;