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

Returns the substring specified by a start index and a length from this String object.

If length is not specified, the remainder of this String object is returned.

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