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.

Example Code

if (isSpace(this))      // tests if this is the space character
{
	Serial.println("The character is a space");
}
else
{
	Serial.println("The character is not a space");
}

See also

Guide Home