std::isalpha

std::isalpha

Defined in header <cctype>
int isalpha( int ch );

Checks if the given character is an alphabetic character as classified by the currently installed C locale. In the default locale, the following characters are alphabetic:

  • uppercase letters ABCDEFGHIJKLMNOPQRSTUVWXYZ
  • lowercase letters abcdefghijklmnopqrstuvwxyz

In locales other than "C", an alphabetic character is a character for which std::isupper() or std::islower() returns non-zero or any other character considered alp