You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VBrazhnik edited this page Aug 22, 2018
·
2 revisions
Prototype
char *ft_strsubchr(const char *s, char c)
Input
String
Output
Character
Description
Allocates and returns a “fresh” substring from the string given as argument. The substring begins at the start of original string and ends at the first occurrence of the character given as argument. If the allocation fails or there is no occurrence of the character the function returns NULL