This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

UpperCaseQ

UpperCaseQ[string]
yields True if all the characters in the string are uppercase letters, and yields False otherwise.
  • UpperCaseQ treats both ordinary and special characters.
Test whether a character is an uppercase letter:
Test whether a character is an uppercase letter:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Test whether all characters in a string are uppercase letters:
Accented letters are still treated as letters:
Gothic letters are treated as letters:
Greek letters are treated as letters:
All characters treated as uppercase letters:
No letters are both uppercase and lowercase:
Some letters are neither uppercase nor lowercase:
Find all letters that are neither uppercase nor lowercase:
New in 2 | Last modified in 3