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

Returns a reference to this String object.

Removes all whitespace from the left side of this String object. 

 

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

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