UTF8AddChar function
Adds the specified number of UTF-8 codepoints to a string.
Declaration
function UTF8AddChar(AUtf8Char: string; const S: string; N: Integer)
: stringDescription
UTF8AddChar is a
String function used to add the
specified number of UTF-8 codepoints to a string.
AUtf8Char is the
UTF-8-encoded codepoint to add to string value in
S.
N
indicates the number of times the codepoint should be added to the string.
No actions are performed in the function when AUtf8Char is an empty string (''), or contains a malformed UTF-8 codepoint.
Values added to the string in S are inserted at the beginning of the string
(prepended).
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
