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(this))      // tests if this is an upeer case letter
{
	Serial.println("The character is upper case");
}
else
{
	Serial.println("The character is not upper case");
}

See also

Guide Home