Name
IsGraph -- check if character has a graphical representation (V7.0)
Synopsis
bool = IsGraph(s$[, pos, encoding])
Function
Checks if the character at index pos inside string s$ has a graphical representation and returns True if it has, otherwise False. This function does the same as IsPrint() except that it does not return True for the space character. The optional pos parameter must be in characters, not in bytes. It defaults to 0 which will test the first character in s$.

The optional encoding parameter can be used to set the character encoding to use. This defaults to the default string encoding set using SetDefaultEncoding(). See Character encodings for details.

Inputs
s$
source string
pos
optional: index of character to test (defaults to 0)
encoding
optional: character encoding to use (defaults to default string encoding)
Results
bool
True or False, depending on the test's result

Show TOC