API Reference > Other Classes > OdAnsiString Class > OdAnsiString Methods > OdAnsiString::spanExcluding Method
OdAnsiString::spanExcluding Method
Syntax
C++
OdAnsiString spanExcluding(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 not contained in the specified character set. 

 

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

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