AnsiContainsText function
Check whether a string contains a certain substring, ignoring case.
Declaration
function AnsiContainsText(const AText: AnsiString;
const ASubText: AnsiString): BooleanArguments
AText | The string to be searched. |
ASubText | The substring to search for. |
Function result
True
if the substring was found,
False otherwise.Description
AnsiContainsString
checks whether
AText contains
ASubText, and returns
True
if this is the case, or returns
False otherwise.
The search is performed case-insensitive.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
