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