std::strspn
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <cstring>
|
||
size_t strspn( const char *dest, const char *src ); |
||
Restituisce la lunghezza massima del segmento iniziale della stringa di byte puntata da
dest
, che consiste solo i caratteri trovati nella stringa di byte puntato da src
.Original:
Returns the length of the maximum initial segment of the byte string pointed to by
dest
, that consists of only the characters 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.
Indice |
[modifica] Parametri
dest | - | puntatore alla stringa con terminazione null byte da analizzare
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 | - | puntatore alla stringa con terminazione null byte che contiene i caratteri da cercare
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. |
[modifica] Valore di ritorno
La lunghezza del segmento iniziale massima che contiene solo caratteri di stringa di byte puntato da
src
Original:
The length of the maximum initial segment that contains only characters from 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.
[modifica] Esempio
This section is incomplete Reason: no example |
[modifica] Vedi anche
restituisce la lunghezza massima del segmento iniziale che consiste dei soli caratteri non trovati in un'altra stringa di byte Original: returns the length of the maximum initial segment that consists of only the characters not 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. (funzione) | |
trova la prima posizione di carattere in una stringa, in un'altra stringa 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. (funzione) | |
C documentation for strspn
|