📦Free shipping over $10 in most countries and regions!



isUpperCase()

[Characters]

Description

Analyse if a char is upper case (that is, a letter in upper case). Returns true if thisChar is upper case.

Syntax

isUpperCase(thisChar)

Parameters

thisChar: variable. Allowed data types: char.

Returns

true: if thisChar is upper case.

Example Code

if (isUpperCase(myChar)) {  // tests if myChar is an upper case letter
  Serial.println("The character is upper case");
}
else {
  Serial.println("The character is not upper case");
}