strtok, strtok_s - cppreference.com
If str ! = NULL, the call is treated as the first call to strtok for this particular string. The function searches for the first character which is not contained in delim. If no such character was found, there are no tokens in str at all, and the function...