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

The file containing the array_separators function. More...

Functions

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

Detailed Description

The file containing the array_separators function.

Function Documentation

◆ array_separators()

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

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

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