System.StrUtils.StartsText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function StartsText(const ASubText, AText: string): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall StartsText(const System::UnicodeString ASubText, const System::UnicodeString AText)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.StrUtils.pas
System.StrUtils.hpp
System.StrUtils System.StrUtils

Description

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.

For a case sensitive comparison, use the StartsStr routine.

See Also