Table of Contents
Previous Section Next Section

isalpha

#include <ctype.h>int isalpha(int ch);

The isalpha( ) function returns nonzero if ch is a letter of the alphabet; otherwise, zero is returned. What constitutes a letter of the alphabet may vary from language to language. For English, these are the uppercase and lowercase letters A through Z.

Related functions are isalnum( ), iscntrl( ), isdigit( ), isgraph( ), isprint( ), ispunct( ), and isspace( ).


Table of Contents
Previous Section Next Section