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

UTF8RightStr

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

Declaration

Source position: lazutf8.pas line 141

function UTF8RightStr(

  const AText: string;

  const ACount: Integer

):string;

Arguments

AText

  

Original string to examine in the function.

ACount

  

Number of characters (codepoints) to get from the string.

Function result

Values from the string.

Description

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


Version 3.2 Generated 2024-02-25 Home