Share

AcString::truncate

C++

AcString & truncate(
    Adesk::Int32 nIndex
);

Description

Truncates the string from the given index.

Parameters

Parameters Description
nIndex Input zero-based position at which to start deleting from

Remarks

Return a reference to this string object.

Links

AcString

Previous Declaration

AutoCAD 2024

AcString & truncate(int nIndex);

inline AcString & AcString::truncate(int nIndex);

History

AutoCAD 2025

nIndex argument now expects an Adesk::Int32 instead of int.

Was this information helpful?