System.StrUtils.EndsStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

extern DELPHI_PACKAGE bool __fastcall EndsStr(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

Determines if string AText ends with substring ASubText using a case sensitive string comparison. Returns true if AText ends with ASubText.

For a case insensitive comparison, use the EndsText routine.

See Also