Hello Davide, * Davide Angelocola wrote on Tue, Sep 05, 2006 at 10:51:37PM CEST: > On Tuesday 05 September 2006 22:01, Ben Pfaff wrote: > > Davide Angelocola <[EMAIL PROTECTED]> writes: > > > char *split(const char *str, char sep, int *argc); > > > > What does it do? > split() splits the string "str" into an array of strings accordingly "sep" > and returns that array and it's size in *argc. The array is allocated via > malloc().
If you don't need the enhancements proposed by others, it overlaps a lot with argz's argz_create_sep. Cheers, Ralf