UTF8ReverseString function
Reverses the order of codepoints in the specified string.
Declaration
function UTF8ReverseString(p: PChar; const ByteCount: LongInt): stringDescription
UTF8ReverseString is used to create a string with the specified
content in reverse order. p contains the UTF-8-encoded values for the
original string.
ByteCount indicates the total number of bytes needed to represent the
codepoints in p.
UTF8ReverseString calls UTF8CodepointSize and moves the needed
number of byte values in p to the return value for the function.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
