ft_strsplit - kibotrel/42-Libft GitHub Wiki

char	**ft_strsplit(char const *s, char c)

Description :

Splits the given string s in an array of string, each sub-string is delimited by the character c.

Return Value :

Returns an allocated string array built according on the given string s and the character delimiter c.

Source code