Check if wide character is lowercase letter
Checks whether c is a lowercase letter.
Notice that what is considered a letter may depend on the locale being used.
This function is the wide-character equivalent of islower (<cctype>): If c translates with wctob to a character for which islower is true, it is always considered a lowercase letter character by this function too.
In C++, a locale-specific template version of this function (islower) exists in header <locale> for all character types.
- Wide character to be checked, casted to a wint_t, or WEOF.
wint_t is an integral type.
A value different from zero (i.e., true) if indeed c is a lowercase letter. Zero (i.e., false) otherwise.
/* iswlower example */
int main ()
wchar_t str = L"Test String.\n";
c = str[i];
if (iswlower(c)) c=towupper(c);
- Check if character is lowercase letter (function
- Check if wide character is uppercase letter (function
- Check if wide character is alphabetic (function
- Convert lowercase wide character to uppercase (function
- Convert uppercase wide character to lowercase (function
- islower (locale)
- Check if character is a lowercase letter using locale (function template