System.SysUtils.TStringHelper.StartsWith
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
パラメータでは、大文字小文字を区別せずに比較することができます。