Delphi Drawers

文字列の置き換え

文字列を置き換えます。

function fnReplaceText(strText:string;strOld:string;strNew:string):string;
begin
  strNew := '"' + strNew + '"';
  fnReplaceText := StringReplace(strText, strOld, strNew, [rfReplaceAll,rfIgnoreCase]);
end;
Copyright © 2006 Hikijishi All Rights Reserved.
[] [delphi][0.00112795829772949]