Re: String Replace


Posted by Jean Claude Servaye on March 16, 2001 at 14:27:52:

In Reply to: String Replace posted by p12113 Ross Mason on March 14, 2001 at 22:11:24:

function ReplaceSoft(s: String): String;
var
sRet : String ;
sOld : String ;
sNew : String ;
begin
sOld := chr(141)+chr(10);
sNew := ' ' ;
sRet := StringReplace(S, sOld, sNew,[rfReplaceAll] );
Result := sRet ;
end;