The function strtok breaks a string into a smaller strings, or tokens, using a set of delimiters.
#include <stdio.h>
#include <string.h>
int main(void)
{
    int toknum = 0;
    char src[] = "Hello,, world!";
    const char delimiters[] = ", !";
    char *to...