String.h: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nikbot (discussione | contributi)
m Bot: Aggiorno template {{informatica}}
Nessun oggetto della modifica
Riga 79:
|-
|}
<!--
|<code>size_t [[strspn]](const char *s, const char *accept);</code>
|Restituisce la lunghezza della porzione iniziale della stringa ''s'' di lunghezza massima composta esattamente dai caratteri della stringa ''accept''
|determines the length of the maximal initial substring of s consisting entirely of characters in accept
|-
|<code>size_t [[strcspn]](const char *s, const char *reject);</code>
|Restituisce la lunghezza della porzione iniziale della stringa ''s'' di lunghezza massima composta esattamente da caratteri diversi da quelli della stringa ''reject''
|determines the length of the maximal initial substring of s consisting entirely of characters not in reject
|-
|<code>char *[[strpbrk]](const char *s, const char *accept);</code>
|Restituisce la prima occorrenza di un carattere presente nella stringa ''s'' che sia uguale ad un qualsiasi carattere presente nella stringa ''accept''
|finds the first occurrence of any character in accept in s
|-
<!--
|<code>char *[[strstr]](const char *haystack, const char *needle);</code>
|finds the first occurrence of [[Needle in a haystack|needle in haystack]]
|-
-->
|<code>char *[[strtok]](char *s, const char *delimiters);</code>
|parses a string into a sequence of tokens; non-thread safe
|Spezza la stringa ''s'' in una serie di stringhe chiamate [token] in corrispondenza dei carattere delimitatore ''delimiters''
|-
|}
<!--
|<code>size_t [[strxfrm]](char *dest, const char *src, size_t n);</code>
|transforms src into a collating form, such that the numerical sort order of the transformed string is equivalent to the collating order of src.