[Overview][Procedures and functions][Index] |
Gets the length for the specified value in UTF-16 characters.
Source position: lazutf16.pas line 39
function UTF16Length( |
const s: widestring |
):PtrInt; overload; |
p: PWideChar; |
WordCount: PtrInt |
):PtrInt; overload; |
s |
|
Unicode string with the values examined in the routine. |
Number of UTF-16 codepoints in the examined value.
p |
|
Pointer to the WideChar values examined in the routine. |
WordCount |
|
Number of UTF-16 word values to examine in the Unicode string. |
Examines 16-UTF values in the specified Unicode string until the number of word values is exceeded. Using zero (0) in WordCount causes no actions to be performed in the routine, and the return value is 0.
Version 3.2 | Generated 2024-02-25 | Home |