Search and replace all occurrences of a string, case insensitive.
Source position: strutils.pp line 42
function AnsiReplaceText( |
const AText: AnsiString; |
const AFromText: AnsiString; |
const AToText: AnsiString |
):AnsiString; |
AText |
|
String in which to search and replace. |
AFromText |
|
String to search for. |
AToText |
|
String to replace with. |
Result of the search and replace operation.
AnsiReplaceString searches AText for all occurrences of the string AFromText and replaces them with AToText , and returns the resulting string. The search is performed ignoring case.
None.
|
Search and replace all occurrences of a string, case sensitive. |
|
|
Search a buffer for a certain string. |