[Overview][Procedures and functions][Index] |
Gets a pointer to the Unicode character at the ordinal position in P specified by the CharIndex argument.
Source position: lazutf16.pas line 42
function UTF16CharStart( |
P: PWideChar; |
Len: PtrInt; |
CharIndex: PtrInt |
):PWideChar; |
P |
|
PWideChar value with the values examined in the routine. |
Len |
|
Len is the number of Word values in P. |
CharIndex |
|
CharIndex is the position for the desired UnicodeChar (starting at 0). |
Pointer to the Unicode character (code point) at the specified ordinal position.
P is the PWideChar value with the content examined in the routine.
Len contains the number of Word values examined in the P argument.
CharIndex specifies the ordinal position in P for the character pointer in the return value. CharIndex is zero-based and refers to a code point in P and not the individual Word values.
UTF16CharStart calls the UTF16CharacterLength routine to examine and skip each of the code points in P until the code point at CharIndex is found. The return value points to the Unicode character at the specified ordinal position. The return value is Nil for any of the following conditions:
|
Gets the length of the UTF-16 character in the specified PWideChar value as a number Word values. |
Version 4.0 | Generated 2025-05-03 | Home |