strsep9
Split a string into tokens
Usage
char * strsep(char ** s, const char * ct);
Arguments
s
The string to be searched
ct
The characters to search for
Overview
strsep updates s to point after the token, ready for the next call.
It returns empty tokens, too, behaving exactly like the libc function of that name. In fact, it was stolen from glibc2 and de-fancy-fied. Same semantics, slimmer shape. ;)
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.