42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
my_str_to_word_array_string.c File Reference

The file containing the my_str_to_word_array_string function. More...

#include "my.h"

Functions

char ** my_str_to_word_array_string (char const *str, char const *separator)
 Returns an array of words delimited by a separator (separator) from a string (str)
 

Detailed Description

The file containing the my_str_to_word_array_string function.

Author
Nicolas TORO

Function Documentation

◆ my_str_to_word_array_string()

char ** my_str_to_word_array_string ( char const * str,
char const * separator )

Returns an array of words delimited by a separator (separator) from a string (str)

Parameters
strThe string to convert
separatorThe separator to use
Returns
char** The array of words
Author
Nicolas TORO