TStringHelper.StartsWith
Check if one string starts with another
Declaration
Source position: syshelph.inc line 172
public
function StartsWith(const AValue: string) : Boolean; Overload;
function StartsWith(const AValue: string; IgnoreCase: Boolean) : Boolean
; Overload;
Description
StartsWith will return True if the first characters of the string (Self) equal the string AValue. If IgnoreCase is True, then the comparison is done case insensitive. The default is to compare strings case sensitively.
See also
Name | Description |
---|---|
TStringHelper.EndsWith | Check if the string is ended by another. |