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