From 2cc6f50e5b04b903ca97d8a5479c95ca72b52547 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 26 Apr 2020 20:07:03 +0200 Subject: substsubtsubst --- libft/inc/libft.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libft/inc') diff --git a/libft/inc/libft.h b/libft/inc/libft.h index f85f4b3..5ddb471 100644 --- a/libft/inc/libft.h +++ b/libft/inc/libft.h @@ -106,6 +106,9 @@ char *ft_uitoa_base(unsigned long n, char *base); char *ft_strmapi(const char *s, char (*f)(unsigned int, char)); char *ft_nstr(size_t size); +char *ft_strsubst(char *str, + const char *pattern, + const char *subst); char **ft_split(const char *s, char c); /* -- cgit v1.2.3