Search results: things to know about programming c

function size_t strspn (const char * str1, const char * str2) calculates the length of the first character segment of the str1 string containing the characters in str2

char * strtok function (char * str, const char * delim) divides the string str into a sequence of tokens separately separated by delim separators (eg comma, ...).

the function size_t strxfrm (char * dest, const char * src, size_t n) transforms the first n characters of the src string into the current locale and places them in dest string.