System.SysUtils.TStringHelper.StartsWith
Delphi
function StartsWith(const Value: string): Boolean; overload; inline;
function StartsWith(const Value: string; IgnoreCase: Boolean): Boolean; overload;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.SysUtils.pas | System.SysUtils | TStringHelper |
Description
Returns whether this string starts with the given string.
The string you want to test whether it is the start string for this string is passed through the Value parameter. The IgnoreCase parameter of the second overloaded StartsWith function allows you to compare without case sensitivity.