std::strtok - cppreference.com
[edit] Return value Pointer to the beginning of the next token or NULL if there are no more tokens. [edit] Notes This function is destructive: it writes the ' \0 ' characters in the elements of the string str. In particular, a string literal cannot be...