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

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.