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

説明

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

この 0 基準の文字列の開始文字列であるかを確認したい文字列は、Value パラメータで渡します。第 2 オーバーロード StartsWith 関数の IgnoreCase パラメータにより、大文字小文字は区別しないで比較することもできます。

関連項目