|
Libft
Custom implementation of core libc functions with additional utility helpers.
|

Functions | |
| static char * | get_word (char const *s, char sep) |
| Extracts a word from a string until the separator. | |
| char ** | str_split (char const *s, char c) |
| Splits a string into an array of strings using a delimiter. | |
| size_t | str_count_words (char const *s, char sep) |
| Counts words in a string separated by a delimiter. | |
| void | str_array_free (char ***tab_ptr) |
| Frees all strings in a null-terminated array and the tab itself. | |
|
static |
Extracts a word from a string until the separator.
| s | String to extract from. |
| sep | Delimiter character. |


| void str_array_free | ( | char *** | tab_ptr | ) |
Frees all strings in a null-terminated array and the tab itself.
| tab | Array of strings to free. |

| size_t str_count_words | ( | char const * | s, |
| char | sep | ||
| ) |
Counts words in a string separated by a delimiter.
| s | String to analyze. |
| sep | Delimiter character. |
