[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

UnicodeStringReplace

Replace one occurrence of a string with another

Declaration

Source position: sysunih.inc line 70

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: Jun 23 2021