maxishell
Implementation of a shell for Linux-like systems
Loading...
Searching...
No Matches
ft_exclude_delimiters.c
Go to the documentation of this file.
1
/* ************************************************************************** */
2
/* */
3
/* ::: :::::::: */
4
/* ft_exclude_delimiters.c :+: :+: :+: */
5
/* +:+ +:+ +:+ */
6
/* By: rocky <marvin@42.fr> +#+ +:+ +#+ */
7
/* +#+#+#+#+#+ +#+ */
8
/* Created: 2024/06/14 10:02:41 by rocky #+# #+# */
9
/* Updated: 2024/06/14 10:02:44 by rocky ### ########.fr */
10
/* */
11
/* ************************************************************************** */
12
13
#include "
libft.h
"
14
15
const
char
*
ft_exclude_delimiters
(
const
char
*str,
char
*delims)
16
{
17
while
(*str && (
ft_strchr
(delims, *str) != NULL))
18
str++;
19
return
(str);
20
}
ft_exclude_delimiters
const char * ft_exclude_delimiters(const char *str, char *delims)
Definition
ft_exclude_delimiters.c:15
libft.h
ft_strchr
char * ft_strchr(const char *s, int c)
Definition
ft_strchr.c:25
lib
libft
src
ft_exclude_delimiters.c
Generated by
1.9.8