4 ms·
I have a strtok() clone for this purpose that returns a pointer range for each token, leaving the string untouched.
by kevin_thibedeau 2y ago
I have a strtok() clone for this purpose that returns a pointer range for each token, leaving the string untouched.
- kazinator 2y agoBut then you have to copy out those pieces in order to have them null terminated so they can correctly function as strings.