Check whether a string ends with a certain substring, ignoring case.
Source position: strutils.pp line 40
function AnsiEndsText( |
const ASubText: AnsiString; |
const AText: AnsiString |
):Boolean; |
const ASubText: UnicodeString; |
const AText: UnicodeString |
):Boolean; |
ASubText |
|
Substring to check for. |
AText |
|
Text to check the end of. |
True if the string ends on the substring, False otherwise.
ASubText |
|
Substring to check for. |
AText |
|
Text to check the end of. |
AnsiEndsStr checks AText to see whether it ends with ASubText , and returns True if it does, False if not. The check is performed case-insensitive. Basically, it checks whether the position of ASubText equals the length of AText minus the length of ASubText plus one.
None
|
Check whether a string starts with a given substring, ignoring case. |
|
|
Check whether a string ends with a certain substring. |
|
|
Searches, case insensitive, for a string in an array of strings. |
|
|
Check whether a string contains a certain substring, ignoring case. |