[Overview][Procedures and functions][Index] |
Deprecated. Replaces a pattern in a Unicode string with another Unicode pattern.
Source position: lazutf16.pas line 49
function Utf16StringReplace( |
const S: UnicodeString; |
const OldPattern: UnicodeString; |
const NewPattern: UnicodeString; |
Flags: TReplaceFlags |
):UnicodeString; |
const S: UnicodeString; |
const OldPattern: UnicodeString; |
const NewPattern: UnicodeString; |
Flags: TReplaceFlags; |
out Count: Integer |
S |
|
Unicode string value examined in the routine. |
OldPattern |
|
Unicode string with the pattern to locate in S. |
NewPattern |
|
Unicode string with the pattern used to replace the old pattern in S. |
Flags |
|
Set of replacement flags applied in the routine. |
Updated value for Unicode string after pattern replacement(s).
S |
|
Unicode string value examined in the routine. |
OldPattern |
|
Unicode string with the pattern to locate in S. |
NewPattern |
|
Unicode string with the pattern used to replace the old pattern in S. |
Flags |
|
Set of replacement flags applied in the routine. |
Count |
|
Number of replacements performed in the routine. |
Utf16StringReplace is the same as SysUtil.StringReplace but for WideStrings and UnicodeStrings. It has been deprecated in LazUtils; use StringReplace (sysutils) or UnicodeStringReplace (sysutils) instead.
Deprecated in LazUtils version 4.0; use StringReplace or UnicodeStringReplace from the SysUtils unit instead.
Version 4.0 | Generated 2025-05-03 | Home |