Contents Index Topic Contents | ||
Previous Topic: StrRStrI Next Topic: StrStr |
StrSpn
int StrSpn( LPCTSTR psz, LPCTSTR pszSet );Obtains the length of a substring within a string that consists entirely of characters contained in a specified buffer.
- Returns the length, in characters, of the matching string or zero if no match is found.
- psz
- Address of the string that is to be searched.
- pszSet
- Address of a null-terminated character buffer that contains the set of characters for which to search.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.