[String->CharDigitValue] returns the integer value of a specified character or -1 if the character is alphabetic. The character within the base string to be inspected is specified starting from 1 for the first character in the string.
'String Value'->chardigitvalue(integer)
Use the [String->CharDigitValue] method. The following example returns the integer value of the fourth character of a string.
Code
'2001'->chardigitvalue(4)
Result
1
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