Espacios de nombres
Variantes
Acciones

std::wcsspn

De cppreference.com
< cpp‎ | string‎ | wide
 
 
 
 
Definido en el archivo de encabezado <cwchar>
size_t wcsspn( const wchar_t* dest, const wchar_t* src );
Devuelve la longitud del máximo segmento inicial de la cadena apuntada por amplia dest, que consta de sólo los caracteres que se encuentran en cadena gama apuntada por src .
Original:
Returns the length of the maximum initial segment of the wide string pointed to by dest, that consists of only the characters found in wide string pointed to by src.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar] Parámetros

dest -
puntero a la cadena gama terminada en nulo a analizar
Original:
pointer to the null-terminated wide string to be analyzed
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
src -
puntero a la cadena de ancho terminada en cero que contiene los caracteres que desea buscar
Original:
pointer to the null-terminated wide string that contains the characters to search for
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

La longitud del segmento inicial máxima que sólo contiene caracteres de la cadena apuntada por amplia src
Original:
The length of the maximum initial segment that contains only characters from wide string pointed to by src
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Ejemplo

[editar] Ver también

Devuelve la longitud del segmento inicial máximo que consiste
de solo el ancho que no se encuentra en otra cadena ancha
(función) [editar]
Encuentra la primera ubicación de cualquier carácter ancho en una cadena ancha, en otra cadena ancha
(función) [editar]