API Reference > Other Classes > OdString Class > OdString Methods > trimRight Method > OdString::trimRight Method (OdChar*)
OdString::trimRight Method (OdChar*)
Syntax
C++
OdString& trimRight(const OdChar* whiteChars);
Parameters 
Description 
const OdChar* 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.