Sign in Join
FPDoc Onlineexperiment

CodePointCopy function

In unit LazUnicode

Copies the specified number of codepoints starting at a character position.

Declaration

pascal
function CodePointCopy(const s: string; StartCharIndex: NativeInt; 
 CharCount: NativeInt): string

Description

Copies the number of codepoints in CharCount from s, starting at the character position in StartCharIndex. For platforms that require UTF-16, UTF16Copy is called. For other platforms, UTF8Copy is called.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.