C++
AcString right( Adesk::Int32 nNumChars ) const;
Description
Returns a nNumChars length substring from the end of string.
Parameters
Parameters | Description |
---|---|
nNumChars | Input the number of characters of the substring to get |
Returns
An AcString consisting of the specified substring.
Remarks
Negative nNumChars returns an empty string.
If nNumChars >= string length, the entire string is returned.
Links
Previous Declaration
AutoCAD 2017 through AutoCAD 2024
AcString right(int nNumChars) const;
inline AcString AcString::right(int nNumChars) const;
History
AutoCAD 2025
nNumChars argument now expects an Adesk::Int32 instead of int.