Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | string‎ | wide
m (Text replace - "cstring" to "cwchar")
m (Text replace - "{{example cpp" to "{{example")
Line 24: Line 24:
  
 
===Example===
 
===Example===
{{example cpp
+
{{example
 
  |
 
  |
 
  | code=
 
  | code=

Revision as of 17:39, 19 April 2012

Template:cpp/string/wide/sidebar Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <cwchar>
</td>

<td></td> <td></td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
const wchar_t* wcspbrk( const wchar_t* dest, const wchar_t* str );
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl ">

<td class="t-dcl-nopad">
      wchar_t* wcspbrk(       wchar_t* dest, const wchar_t* str );
</td>

<td class="t-dcl-nopad"> </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end

Finds the first character in wide string pointed to by dest, that is also in wide string pointed to by str.

Contents

Parameters

dest - pointer to the null-terminated wide string to be analyzed
src - pointer to the null-terminated wide string that contains the characters to search for

Return value

pointer to the first character in dest, that is also in str, or Template:cpp if no such character exists.

Example

See also

Template:cpp/string/wide/dcl list wcscspnTemplate:cpp/string/wide/dcl list wcschr