Lasso Soft Inc. > Home

[ string->iscntrl ]

Method

[String->IsCntrl] checks whether a specified character within the string object is a control character. 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 tag returns True if the character is a control character or False otherwise.

  • Syntax
'String Object'->iscntrl
'String Object'->iscntrl(integer)
Examples
  • Beginner

To check whether a character is a control character:

Use the [String->IsCntrl] method. The following example returns False since the second character of the string is not a control character.

Code

'Lasso 9'->iscntrl(2)

Result

false

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