System.Classes.TStrings.Contains
Delphi
function Contains(const S: string): Boolean; inline;
C++
bool __fastcall Contains(const System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStrings |
Delphi
function Contains(const S: string): Boolean; inline;
C++
bool __fastcall Contains(const System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStrings |
Description
Checks whether a specified string exists in the list of strings.
Returns True
if the string exists in the list, or False
if it is not.