Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

UnicodeStringReplace

Replace one occurrence of a string with another.

Declaration

Source position: sysunih.inc line 71

function UnicodeStringReplace(

  const S: UnicodeString;

  const OldPattern: UnicodeString;

  const NewPattern: UnicodeString;

  Flags: TReplaceFlags

):UnicodeString;

function UnicodeStringReplace(

  const S: UnicodeString;

  const OldPattern: UnicodeString;

  const NewPattern: UnicodeString;

  Flags: TReplaceFlags;

  out aCount: Integer

):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

StringReplace

  

Replace occurrences of one substring with another in a string.


Documentation generated on: Nov 23 2024