[Overview][Procedures and functions][Index] Reference for unit 'LazUTF16' (#lazutils)

UTF16Copy

Copies a number of UTF-16 characters at the given character position in the specified value.

Declaration

Source position: lazutf16.pas line 41

function UTF16Copy(

  const s: UnicodeString;

  StartCharIndex: PtrInt;

  CharCount: PtrInt

):Unicodestring;

Arguments

s

  

UnicodeString with the values examined in the routine.

StartCharIndex

  

1-based staring character (code point) position in the Unicode string.

CharCount

  

Number of characters (code points) copied in the the routine.

Function result

UnicodeString with the values copied in the routine.


Version 3.2 Generated 2024-02-25 Home