API Reference > Other Classes > OdAnsiString Class > OdAnsiString Methods > trimRight Method > OdAnsiString::trimRight Method (char)
OdAnsiString::trimRight Method (char)
Syntax
C++
OdAnsiString& trimRight(char whiteChar);
Parameters 
Description 
char whiteChar 
[in] Whitespace character.
  • details Removes all whitespace from the right side of this String object.

[in] Whitespace character. 

Returns a reference to this String object.

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

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