[Overview][Constants][Types][Procedures and functions] |
Check whether a string ends with a certain substring, ignoring case.
Source position: strutils.pp line 32
function AnsiEndsText( |
const ASubText: String; |
const AText: String |
):Boolean; |
ASubText |
|
Substring to check for. |
AText |
|
Text to check the end of |
Trueif the string ends on the substring, Falseotherwise.
AnsiEndsStrchecks ATextto see whether it ends with ASubText, and returns Trueif it does, Falseif not. The check is performed case-insensitive. Basically, it checks whether the position of ASubTextequals the length of ATextminus the length of ASubTextplus 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. |