RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StrUtils.StartsStr Function

Enter a short sentence, starting with a verb, that states the basic purpose of the property.

Pascal
function StartsStr(const ASubText: string; const AText: string): Boolean;
C++
Boolean StartsStr(const AnsiString ASubText, const AnsiString AText);

StrUtils

For a case insensitive comparison, use the StartsText routine. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!