System.StrUtils.AnsiRightStr
Delphi
function AnsiRightStr(const AText: string; const ACount: Integer): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall AnsiRightStr(const System::UnicodeString AText, const int ACount)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.StrUtils.pas System.StrUtils.hpp |
System.StrUtils | System.StrUtils |
Description
Returns the substring of a specified length that appears at the end of a string.
AnsiRightStr returns the trailing characters of AText up to a length of ACount characters. Thus, for example, if AText is the string "Programmer" and ACount is 7, AnsiRightStr returns the string "grammer".