From 58c133333ac3d1be1f7e89ce1b40a0e100ee812c Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 28 Feb 2020 01:03:04 -0500 Subject: Add join_ex() [simplified join() function] --- include/str.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/str.h') diff --git a/include/str.h b/include/str.h index 06e4a77..23126ab 100644 --- a/include/str.h +++ b/include/str.h @@ -11,6 +11,7 @@ void strdelsuffix(char *sptr, const char *suffix); char** split(char *sptr, const char* delim); void split_free(char **ptr); char *join(char **arr, const char *separator); +char *join_ex(char *separator, ...); char *substring_between(char *sptr, const char *delims); void strsort(char **arr); int find_in_file(const char *filename, const char *pattern); -- cgit