[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Compares the UTF-8-encoded string values.
Source position: lazutf8.pas line 174
function UTF8CompareStr( |
const S1: string; |
const S2: string |
):PtrInt; |
S1: PChar; |
Count1: SizeInt; |
S2: PChar; |
Count2: SizeInt |
):PtrInt; |
S1 |
|
First value for the comparison. |
S2 |
|
Second value for the comparison. |
Relative order for the compared values.
S1 |
|
First value for the comparison. |
Count1 |
|
Length of the first value. |
S2 |
|
Second value for the comparison. |
Count2 |
|
Length of the second value. |
UTF8CompareStr is a function used to compare the specified UTF-8-encoded string values. The return value indicates the relative sort order for the compared values, and includes:
Internally, UTF8CompareStr calls WideCompareText using the values in S1 and S2 converted to UTF-16 code points.
Version 3.2 | Generated 2024-02-25 | Home |