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