API Reference > Other Classes > OdAnsiString Class > OdAnsiString Methods > OdAnsiString::left Method
OdAnsiString::left Method
Syntax
C++
OdAnsiString left(int length) const;
Parameters 
Description 
int length 
[in] Length of substring. 

Returns the leftmost substring of the specified length from this String object.

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