[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Indicates the difference between UTF-8 codepoints in the specified values.
Source position: masks.pas line 240
protected class function TMaskUTF8.CompareUTF8Sequences( |
const P1: PChar; |
const P2: PChar |
):Integer; |
P1 |
|
PChar type with UTF-8 codepoints compared in the method. |
P2 |
|
PChar type with UTF-8 codepoints compared in the method. |
numeric difference between differing codepoints, or zero when the same.
CompareUTF8Sequences is an Integer class function used to compare the UTF-8 codepoints in the values specified by P1 and P2. The return value is the numeric difference between the byte values in the differing UTF-8 codepoints. The return value is 0 (zero) when P1 and P2 have the same UTF-8-encoded content.
CompareUTF8Sequences is used in the implementation of the CompileRange and IntfMatches methods.
Version 4.0 | Generated 2025-05-03 | Home |