文字列の置き換え
文字列を置き換えます。
function fnReplaceText(strText:string;strOld:string;strNew:string):string;
begin
strNew := '"' + strNew + '"';
fnReplaceText := StringReplace(strText, strOld, strNew, [rfReplaceAll,rfIgnoreCase]);
end;
文字列を置き換えます。
function fnReplaceText(strText:string;strOld:string;strNew:string):string;
begin
strNew := '"' + strNew + '"';
fnReplaceText := StringReplace(strText, strOld, strNew, [rfReplaceAll,rfIgnoreCase]);
end;