RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
StrUtils.EndsStr Function

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

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

StrUtils

For a case insensitive comparison, use the EndsText routine. 

 

Commonly Used Long String Routines 

String Types 

String Constants 

EndsText

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