From RAD Studio API Documentation
Jump to: navigation, search


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


Type Visibility Source Unit Parent
function public System.SysUtils.pas System.SysUtils TStringHelper


Returns whether this 0-based string starts with the given string.

The string you want to test whether it is the start string for this 0-based string, is passed through the Value parameter. The IgnoreCase parameter of the second overloaded StartsWith function allows you to compare without case-sensitivity.

See Also