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:

Scope  (4)

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:

Properties & Relations  (2)

All characters treated as uppercase letters:

No letters are both uppercase and lowercase:

Possible Issues  (1)

Some letters are neither uppercase nor lowercase:

Neat Examples  (1)

Find all letters that are neither uppercase nor lowercase:

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