RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStrings.EndsText Function

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

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

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!