UTF8LeftStr function
Gets the specified number of characters (codepoints) at the start of the string.
Declaration
function UTF8LeftStr(const AText: string; const ACount: Integer)
: stringArguments
AText | Original string to examine in the function. |
ACount | Number of characters (codepoints) to get from the string. |
Function result
Values from the specified 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.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
