RAD Studio VCL Reference
|
StartsText determines if the substring ASubText begins the string AText using a case insensitive algorithm. If ASubText matches the begining of AText, the result is true, otherwise it is false.
function StartsText(const ASubText: string; const AText: string): Boolean;
Boolean StartsText(const AnsiString ASubText, const AnsiString AText);
For a case sensitive comparison, use the StartsStr routine.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|