[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Finds the n-th UTF-8 codepoint.
Source position: lazutf8.pas line 101
function UTF8CodepointStart( |
UTF8Str: PChar; |
Len: PtrInt; |
CodepointIndex: PtrInt |
):PChar; |
UTF8Str |
|
Values to examine in the function. |
Len |
|
Length in bytes for the input values. |
CodepointIndex |
|
Character position for the desired codepoint (zero-based). |
Byte values for the codepoint, or Nil.
Finds the n-th UTF-8 codepoint, ignoring BIDI.
Len is the length in bytes for the values in UTF8Str. CodepointIndex is the position of the desired codepoint (starting at 0), in characters.
The return value contains the byte values for the codepoint, or Nil when a valid codepoint was not found.
Version 3.2 | Generated 2024-02-25 | Home |