Sign in Join
FPDoc Onlineexperiment

ReplaceStr function

In unit StrUtils

Replace strings case-sensitively.

Declaration

pascal
function ReplaceStr(const AText: string; const AFromText: string; 
 const AToText: string): string

Description

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.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.