RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StrUtils.EndsText Function

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

Pascal
function EndsText(const ASubText: string; const AText: string): Boolean;
C++
Boolean EndsText(const AnsiString ASubText, const AnsiString AText);

StrUtils

For a case sensitive comparison, use the EndsStr routine. 

 

Commonly Used Long String Routines 

String Types 

String Constants 

EndsStr

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!