System.SysUtils.TStringHelper.StartsWith

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

Delphi

function StartsWith(const Value: string): Boolean; overload; inline;
function StartsWith(const Value: string; IgnoreCase: Boolean): Boolean; overload;

プロパティ

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


説明

この文字列が指定された文字列で開始しているかどうかを返します。

この文字列の開始文字列であるかどうかをテストする文字列を、Value パラメータで渡します。第2 StartsWith オーバーロード関数の IgnoreCase パラメータでは、大文字小文字を区別せずに比較することができます。

関連項目