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

UTF8LeftStr

Gets the specified number of characters (codepoints) at the start of the string.

Declaration

Source position: lazutf8.pas line 140

function UTF8LeftStr(

  const AText: string;

  const ACount: Integer

):string;

Description

UTF8LeftStr is used to get the specified number of characters (codepoints) at the beginning of the UTF-8-encoded string. UTF8LeftStr calls Utf8Copy to get the return value for the function.


Version 3.2 Generated 2024-02-25 Home