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