API Reference > Other Classes > OdAnsiString Class > OdAnsiString Methods > OdAnsiString::spanIncluding Method
OdAnsiString::spanIncluding Method
Syntax
C++
OdAnsiString spanIncluding(const char* charSet) const;
Parameters 
Description 
const char* charSet 
[in] Character set. 

Returns the longest leftmost substring of this String object that consists solely of characters that are contained in the specified character set. 

 

If the first character in this String object is not in the specified character set, an empty string is returned.

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