API Reference > Other Classes > OdString Class > OdString Methods > trimRight Method > OdString::trimRight Method (OdString&)
OdString::trimRight Method (OdString&)
Syntax
C++
inline OdString& trimRight(const OdString& whiteChars);
Parameters 
Description 
const OdString& whiteChars 
[in] Whitespace characters. 

Returns a reference to this String object.

Removes all whitespace from the right side of this String object. 

 

A space (' ') is used if no whitespace characters are specfied.

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