Difference between revisions of "cpp/string/wide/wcscspn"
From cppreference.com
m (Text replace - "{{cpp/title| str" to "{{cpp/title| wcs") |
m (Text replace - "{{cpp/string/narrow/sidebar}}" to "{{cpp/string/wide/sidebar}}") |
||
Line 1: | Line 1: | ||
{{cpp/title| wcscspn}} | {{cpp/title| wcscspn}} | ||
− | {{cpp/string/ | + | {{cpp/string/wide/sidebar}} |
{{ddcl | header=cstring | | {{ddcl | header=cstring | | ||
size_t strcspn( const char *dest, const char *src ); | size_t strcspn( const char *dest, const char *src ); |
Revision as of 11:30, 25 November 2011
Template:cpp/string/wide/sidebar
Defined in header <cstring>
|
||
size_t strcspn( const char *dest, const char *src ); |
||
Returns the length of the maximum initial segment of the character string pointed to by dest
, that consists of only the characters not found in character string pointed to by src
.
Contents |
Parameters
dest | - | pointer to the null-terminated character string to be analyzed |
src | - | pointer to the null-terminated character string that contains the characters to search for |
Return value
the length of the maximum initial segment that contains only characters not found in the character string pointed to by src