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

The file containing the array_string function. More...

Functions

char ** array_string (char const *str, char const *separator)
 Transform a string into an array of words delimited by a string with inhibitors.
 

Detailed Description

The file containing the array_string function.

Function Documentation

◆ array_string()

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

Transform a string into an array of words delimited by a string with inhibitors.

Parameters
strThe string to transform
separatorThe separator
Returns
char ** The array of words