Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdString::replace Method (const OdString&, const OdString&)
Syntax
C++
inline int replace(const OdString& oldString, const OdString& newString);

Replaces all occurrences of the specified string in this String object. 

 

Parameters
Description
oldString
[in] Old string.
newString
[in] New string.

Returns the number of characters or strings replaced.

Copyright © 2002-2022. Open Design Alliance All rights reserved.