Lasso Soft Inc. > Home

[ String_IsAlphaNumeric ]

Method

[String_IsAlphaNumeric] returns boolean True if the string contains only alphabetic characters (including a-z as well as foreign characters and characters with accents) or numerals.

  • Syntax
string_isalphanumeric('string value')
Examples
  • Beginner

To check whether a string contains only letters or numbers:

Use the [String_IsAlphaNumeric] method. The following example checks whether the character A is a letter or number, whether the character 1 is a letter or number, and finally whether the string "A1" contains only letters or numbers, returning True each time.

Code

string_isalphanumeric('A')
string_isalphanumeric(1)
string_isalphanumeric('A1')

Result

true
true
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