System.StrUtils.StartsStr

提供: RAD Studio API Documentation
2013年4月6日 (土) 00:51時点におけるL10nBot (トーク | 投稿記録)による版 (updated links to redirects)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

Delphi

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

C++

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

プロパティ

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


説明

文字列 AText が部分文字列 ASubText で始まるかどうかを判断します。その際、大文字小文字を区別するアルゴリズムが使用されます。

ASubText が AText の先頭に一致する場合は True、それ以外の場合は False が返ります。 大文字小文字を区別しないで比較する場合は、StartsText ルーチンを使用します。

関連項目