UTF8PadLeft function
Adds the specified number of values in AUtf8Char to the beginning of a string.
Declaration
function UTF8PadLeft(const S: string; const N: Integer;
const AUtf8Char: string=#32): stringDescription
UTF8PadLeft is used to add the specified number of values in
AUtf8Char to the beginning of a string. The default value for
AUtf8Char is #32 ([SPACE]), but can contain any valid UTF-8 codepoint (1 to 4
bytes). UTF8PadLeft calls
Utf8AddChar to create the return value
for the function.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
