API Reference > Other Classes > OdString Class > OdString Methods > insert Method > OdString::insert Method (int, OdString&)
OdString::insert Method (int, OdString&)
Syntax
C++
int insert(int insertIndex, const OdString& insertString);
Parameters 
Description 
int insertIndex 
[in] Insertion index.  
const OdString& insertString 
[in] String to insert. 

Returns the new length of this String object.

Inserts the specified string into this String object. 

 

If insertIndex exceeds the length of this String object, this String object is lengthened as necessary to accommodate the insertion.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.