[String->IsDigit] checks whether a specified character within the string object is a digit. 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 digit or False otherwise.
'String Object'->isdigit
'String Object'->isdigit(integer)
Use the [String->IsDigit] method. The following example returns True since the seventh character of the string is a digit.
Code
'Lasso 9'->isdigit(7)
Result
true
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments