Lasso Soft Inc. > Home

[ string->isgraph ]


[String->IsGraph] checks whether a specified character within the string object is a printable character except the space character, that is, any character for which the methods string->isalnum() or string->ispunct() is true. If the parameter specifying the position of the character to be examined is omitted, then the default position 1 (or first character in the string object) is examined. The method returns True if the examined character is a printable character except the space character or False otherwise.

  • Syntax
'String Object'->isgraph
'String Object'->isgraph(integer)
  • Beginner

To check whether a character is printable, but not the space character:

Use the [String->IsGraph] method. The following example returns True since the fourth character of the string is printable.


'Lasso 9'->isgraph(4)



Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft