API Reference > Other Classes > OdString Class > OdString Methods > spanExcluding Method > OdString::spanExcluding Method (OdString&)
OdString::spanExcluding Method (OdString&)
Syntax
C++
inline OdString spanExcluding(const OdString& charSet) const;
Parameters 
Description 
const OdString& 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.