Show: Object Pascal C++
Display Preferences

System.AnsiStrings.AnsiEndsStr

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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

C++

extern DELPHI_PACKAGE bool __fastcall AnsiEndsStr(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 with case-sensitivity.

AnsiEndsStr returns true if the trailing part of the given text matches the subtext with case-sensitivity and returns false otherwise. The compare operation is controlled by the current locale.

Use AnsiEndsText to make this test without case-sensitivity.

See Also

Personal tools
Translations