[Overview][Types][Classes][Procedures and functions][Variables][Index] |
Determines if a string ends with the specified value.
Source position: lazutf8.pas line 145
function UTF8EndsText( |
const ASubText: string; |
const AText: string |
):Boolean; |
ASubText |
|
Value to locate at the end of the string. |
AText |
|
String to examine in the function. |
True when the strings ends with the specified text.
UTF8EndsText determines if the value in AText ends with the value in ASubText. Both values can contain a valid UTF-8-encoded string. The return value is False when ASubText is an empty string (''), or ASubText contains more characters (codepoints) than the value in AText.
UTF8StartsText calls Utf8Copy and UTF8CompareLatinTextFast to perform a case-insensitive comparison between the values.
Version 3.2 | Generated 2024-02-25 | Home |