Description

Analyse if a char is alpha (that is a letter). Returns true if thisChar contains a letter.

Syntax

isAlpha(thisChar)

Parameters

thisChar: variable. Allowed data types: char

Returns

true: if thisChar is alpha.

Example Code

if (isAlpha(this))      // tests if this is a letter
{
	Serial.println("The character is a letter");
}
else
{
	Serial.println("The character is not a letter");
}

See also

Guide Home