System.StrUtils.ContainsStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE bool __fastcall ContainsStr(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

Performs a case sensitive search for substring ASubText in string AText. Returns true if one or more instances of ASubText exist in AText.

For a case insensitive search, use the ContainsText routine.

See Also