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



isAlpha()

[Characters]

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