System.AnsiStrings.EndsText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function EndsText(const ASubText, AText: AnsiString): Boolean;

C++

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

Properties

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

Description

Test if trailing part of text matches subtext without case-sensitivity.

EndsText returns true if the trailing part of the given text matches the subtext without case-sensitivity and returns false otherwise. The compare operation is controlled by the current locale. EndsText is the same as AnsiEndsText.

See Also