ContainsText performs a case insensitive search for the specified substring ASubText, in the specified string AText.
The function returns a boolean True if one or more instances of ASubText exist in AText.
For a case sensitive search, please review the ContainsStr routine.
Declaration: Function ContainsText(const AText, ASubText : string) : Boolean;
Examples as below.