System.AnsiStrings.AnsiRightStr
Delphi
function AnsiRightStr(const AText: AnsiString; const ACount: Integer): AnsiString;
C++
extern DELPHI_PACKAGE System::AnsiString __fastcall AnsiRightStr(const System::AnsiString AText, const int ACount)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.AnsiStrings.pas System.AnsiStrings.hpp |
System.AnsiStrings | System.AnsiStrings |
Description
Returns substring of specified length at end of 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". This function supports multi-byte character strings (MBCS) AnsiStrings.