Lasso Soft Inc. > Home

[String->IsDigit]

[String->IsDigit] checks whether a specified character within the string is numeric. The tag returns True if the character is numeric or False otherwise.

  • Syntax
  • Parameters
[If: 'String'->(IsDigit: 3)] ... [/If]
Required Parameters
Base String The string to be inspected.
Position The character within the string to inspect.
Examples

To check whether a character is a numeric digit:

Use the [String->IsDigit] tag. The following example returns False since the fourth character of the string is not a numeric digit.

[Output: '26 Letters'->(IsDigit: 4)]
Result:
False
Tag Link [String->IsDigit] Category String
Type Member Data Source Any
Support Preferred Version 7.0
Output Type Boolean Security None
Implementation Sets Lasso 7.0

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