Description
Analyse if a char is Ascii. Returns true if thisChar contains an Ascii character.
Syntax
isAscii(thisChar)
Parameters
thisChar
: variable. Allowed data types: char
Returns
true
: if thisChar is Ascii.
Analyse if a char is Ascii. Returns true if thisChar contains an Ascii character.
isAscii(thisChar)
thisChar
: variable. Allowed data types: char
true
: if thisChar is Ascii.
if (isAscii(myChar)) { // tests if myChar is an Ascii character
Serial.println("The character is Ascii");
}
else {
Serial.println("The character is not Ascii");
}
LANGUAGE isAlpha()
LANGUAGE isAlphaNumeric()
LANGUAGE isControl()
LANGUAGE isDigit()
LANGUAGE isGraph()
LANGUAGE isHexadecimalDigit()
LANGUAGE isLowerCase()
LANGUAGE isPrintable()
LANGUAGE isPunct()
LANGUAGE isSpace()
LANGUAGE isUpperCase()
LANGUAGE isWhitespace()
LANGUAGE char
LANGUAGE if (conditional operators)
LANGUAGE while (conditional operators)
LANGUAGE read()