AnsiReplaceText

Search and replace all occurrences of a string, case insensitive.

Declaration

Source position: strutils.pp line 33

  function AnsiReplaceText(const AText: string; const AFromText: string; 
                          const AToText: string) : string;

Description

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.

Errors

None.

See also

Name Description
AnsiReplaceStr Search and replace all occurrences of a string, case sensitive.
SearchBuf Search a buffer for a certain string.