Returns the substring of a specified length that appears at the end of a string.
function RightStr(const AText: AnsiString; const ACount: Integer): AnsiString; overload; function RightStr(const AText: WideString; const ACount: Integer): WideString; overload;
AnsiString RightStr(const AnsiString AText, const int ACount); BSTR RightStr(const BSTR AText, const int ACount);
StrUtils
RightStr 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, RightStr returns the string "grammer".
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|