Determines whether 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 StartsStr(const ASubText: string; const AText: string): Boolean;
Boolean StartsStr(const AnsiString ASubText, const AnsiString AText);
For a case insensitive comparison, use the StartsText routine.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|