Sign in Join
FPDoc Onlineexperiment

UTF8RightStr function

In unit LazUTF8

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

Declaration

pascal
function UTF8RightStr(const AText: string; const ACount: Integer)
: 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.

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