Skip to content

Latest commit

 

History

History
83 lines (59 loc) · 1.35 KB

isUpperCase.adoc

File metadata and controls

83 lines (59 loc) · 1.35 KB

title: "isUpperCase()" categories: [ "Functions" ] subCategories: [ "Characters" ] ---

isUpperCase(thisChar)

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

See also