RAD Studio VCL Reference
|
Test if leading part of text matches subtext without case-sensitivity.
function StartsText(const ASubText: AnsiString; const AText: AnsiString): Boolean;
Boolean StartsText(const AnsiString ASubText, const AnsiString AText);
StartsText returns true if the leading part of the given text matches the subtext without case-sensitivity and returns false otherwise. The compare operation is controlled by the current user locale. StartsText is the same as AnsiStartsText.
Use StartsStr to make this test with case-sensitivity.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|