System.Classes.TStrings.Contains

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function Contains(const S: string): Boolean; inline;

C++

bool __fastcall Contains(const System::UnicodeString S);

プロパティ

種類 可視性 ソース ユニット
function public
System.Classes.pas
System.Classes.hpp
System.Classes TStrings


説明

指定された文字列が文字列リスト内に存在するかどうかを確認します。

文字列がリスト内に存在する場合には True を、そうでなければ False を返します。

関連項目