std::strcspn
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <cstring>
|
||
| size_t strcspn( const char *dest, const char *src ); |
||
Devuelve la longitud del segmento inicial máxima de la cadena de bytes que apunta
dest, que consta de sólo los caracteres no se encuentra en cadena byte apuntado por src .Original:
Returns the length of the maximum initial segment of the byte string pointed to by
dest, that consists of only the characters not found in byte 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.
You can help to correct and verify the translation. Click here for instructions.
Contenido |
[editar] Parámetros
| dest | - | puntero a la cadena de bytes de terminación nula a analizar
Original: pointer to the null-terminated byte 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 bytes terminada en cero que contiene los caracteres que desea buscar
Original: pointer to the null-terminated byte 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áximo que sólo contiene caracteres que no se encuentran en la cadena de bytes indicada por
srcOriginal:
The length of the maximum initial segment that contains only characters not found in the byte string pointed to by
srcThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar] Ejemplo
| This section is incomplete Reason: no example |
[editar] Ver también
| devuelve la longitud del segmento inicial máximo que consiste de sólo los caracteres que se encuentran en otra cadena de bytes Original: returns the length of the maximum initial segment that consists of only the characters found in another byte string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
| encuentra la primera ubicación de cualquier carácter en una cadena, en otra cadena Original: finds the first location of any character in one string, in another string The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) | |
| C documentation for strcspn
| |