[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Reverses the order of codepoints in the specified string.
Source position: lazutf8.pas line 146
function UTF8ReverseString( |
p: PChar; |
const ByteCount: LongInt |
):string; |
const AText: string |
):string; |
p |
|
PChar type with values reversed in the routine. |
ByteCount |
|
Number of bytes reversed in the routine. |
String with the reversed text values.
AText |
|
String with the values reversed in the routine. |
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.
|
Returns the size of the UTF-8 codepoint in bytes. |
Version 3.2 | Generated 2024-02-25 | Home |