Check whether a string contains a certain substring, ignoring case.
Source position: strutils.pp line 38
function AnsiContainsText( |
const AText: AnsiString; |
const ASubText: AnsiString |
):Boolean; |
AText |
|
The string to be searched. |
ASubText |
|
The substring to search for. |
True if the substring was found, False otherwise.
AnsiContainsString checks whether AText contains ASubText, and returns True if this is the case, or returns False otherwise. The search is performed case-insensitive.
|
Checks whether a string contains a given substring. |
|
|
Check whether a string ends with a certain substring, ignoring case. |
|
|
Searches, case insensitive, for a string in an array of strings. |
|
|
Check whether a string starts with a given substring, ignoring case. |