UpperCaseQ

UpperCaseQ[string]

yields True if all the characters in the string are uppercase letters, and yields False otherwise.

Details

  • UpperCaseQ treats both ordinary and special characters.

Examples

open allclose all

Basic Examples  (1)

Test whether a character is an uppercase letter:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Scope  (4)

Properties & Relations  (2)

Possible Issues  (1)

Neat Examples  (1)

See Also

LowerCaseQ  LetterQ  ToUpperCase  ToCharacterCode  StringExpression

Tutorials

Introduced in 1991
(2.0)
| Updated in 1996
(3.0)