| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Replace one occurrence of a string with another
Source position: sysunih.inc line 70
function UnicodeStringReplace(  | 
const S: UnicodeString;  | 
const OldPattern: UnicodeString;  | 
const NewPattern: UnicodeString;  | 
Flags: TReplaceFlags  | 
):UnicodeString;  | 
const S: UnicodeString;  | 
const OldPattern: UnicodeString;  | 
const NewPattern: UnicodeString;  | 
Flags: TReplaceFlags;  | 
out aCount: Integer  | 
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.
  | 
Replace occurrences of one substring with another in a string.  |