Lasso Soft Inc. > Home

[ String_IsDigit ]

Method

[String_IsDigit] returns boolean True if the string contains only numerals (0-9).

  • Syntax
string_isdigit('String Value')
Examples
  • Beginner

To check whether a string contains only numerals:

Use the [String_IsDigit] method. The following example checks whether the string "123" contains numeric digits only, returning True.

Code

string_isdigit(123)

Result

true

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