API Reference > Other Classes > OdString Class > OdString Methods > insert Method > OdString::insert Method (int, __wchar_t*)
OdString::insert Method (int, __wchar_t*)
Syntax
C++
int insert(int insertIndex, const __wchar_t* insertString);
Parameters 
Description 
int insertIndex 
[in] Insertion index.  
const __wchar_t* 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.