Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/string/wide/wcscspn"

From cppreference.com
< cpp‎ | string‎ | wide
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/narrow/sidebar}}
+
{{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

Example

Template:example cpp

See also

Template:cpp/string/narrow/dcl list strspnTemplate:cpp/string/narrow/dcl list strpbrk