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

StringOfCodePoint

Creates a string with the specified number of codepoints.

Declaration

Source position: lazunicode.pas line 53

function StringOfCodePoint(

  ACodePoint: string;

  N: Integer

):string;

Arguments

ACodePoint

  

Codepoint to use when creating the string.

N

  

Number of codepoints required in the string.

Function result

String with the specified number of codepoints.

Description

Creates a string with the specified number of codepoints. Like StringOfChar. For platforms that require UTF-16, the values in ACodePoint are concatenated together until the number of codepoints in N have been created. For other platforms, Utf8StringOfChar is called to get the return value for the function.


Version 4.0 Generated 2025-05-03 Home