isGraph()

[Characters]

Description

Analyse if a char is printable with some content (space is printable but has no content). Returns true if thisChar is printable.

Syntax

`isGraph(thisChar)`

Parameters

thisChar: variable. Allowed data types: char

Returns

true: if thisChar is printable.

Example Code

if (isGraph(this))      // tests if this is a printable character but not a blank space.
{
	Serial.println("The character is printable");
}
else
{
	Serial.println("The character is not printable");
}

See also