System.StrUtils.AnsiContainsText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AnsiContainsText(const AText, ASubText: string): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall AnsiContainsText(const System::UnicodeString AText, const System::UnicodeString ASubText)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.StrUtils.pas
System.StrUtils.hpp
System.StrUtils System.StrUtils

Description

Indicates whether one string is a (case-insensitive) substring of another.

AnsiContainsText returns true if the string specified by ASubText appears as a substring of the string specified by AText. Comparison is performed case-insensitively and based on the current system locale.

See Also