API Reference > Other Classes > OdString Class > OdString Methods > trimRight Method > OdString::trimRight Method (OdChar)
OdString::trimRight Method (OdChar)
Syntax
C++
OdString& trimRight(OdChar whiteChar);
Parameters 
Description 
OdChar whiteChar 
[in] Whitespace character. 

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.