Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int ft_str_is_alpha(char *str)
- {
- unsigned int i;
- i = 0;
- while (str[i] != '\0')
- {
- if (str[i] < 'A' || (str[i] > 'Z' && str[i] < 'a') || str[i] > 'z')
- return (0);
- ++i;
- }
- return (1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement