Replace strings case-sensitively.
Source position: strutils.pp line 142
function ReplaceStr( |
const AText: string; |
const AFromText: string; |
const AToText: string |
):string; |
ReplaceStr is a utility function that scans AText and replaces all occurrences of AFromText with AToText and returns the resulting string. It simply calls StringReplace with the appropriate options.
|
Replace occurrences of one substring with another in a string. |
|
|
Replace strings case-insensitively. |