UTF8StringOfChar function
Creates a string filled with the specified number of given codepoints.
Declaration
function UTF8StringOfChar(AUtf8Char: string; N: Integer): stringDescription
UTF8StringOfChar is a function used to create a UTF-8-encoded
string filled with the specified number of occurrences of the given
codepoint.
AUtf8Char is the UTF-8 codepoint to reproduce in the
function. No actions are performed if AUtf8Char is an empty string (''), or
contains a malformed UTF-8 codepoint.
The return value is filled with byte values for the codepoint (1 to 4 bytes
as per the UTF-8 encoding). The process is repeated until the number of
codepoints in N have been stored in the return value.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
