Declaring this type is not really right
and it's totally wrong how it was declared. (ENUM <> SET)
ReplaceStr does not have this parameter, because everything is always replaced there and the case sensitivity is controlled by the function name.
Delphi-Quellcode:
// System.StrUtils
S := ReplaceStr(S, Old, New); // same as StringReplace(S, Old, New, [rfReplaceAll])
S := ReplaceText(S, Old, New); // same as StringReplace(S, Old, New, [rfReplaceAll, rfIgnoreCase])
// System.SysUtils
S := StringReplace(S, Old, New, [rfReplaceAll]);
// System.SysUtils : TStringHelper
S := S.Replace(Old, New); // implicit rfReplaceAll
S := S.Replace(Old, New, [rfReplaceAll]);