Sign in Join
FPDoc Onlineexperiment

UnicodeStringReplace function

In unit sysutils

Replace one occurrence of a string with another.

Declaration

pascal
function UnicodeStringReplace(const S: UnicodeString; 
 const OldPattern: UnicodeString; 
 const NewPattern: UnicodeString; 
 Flags: TReplaceFlags): UnicodeString

Description

UnicodeStringReplace is the Unicode version of StringReplace; it follows the same rules and has the same behaviour, but operates on Unicode strings instead of ansistrings.

See also

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