LassoScript Utility
Basics Browse Detail

[String_IsDigit]

Tag Link [String_IsDigit] Category String
Type Substitution Source Available No
Support Preferred Version 3.0
Change Unchanged Data Source Any
Output Type Boolean Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x

Description

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

Syntax

[String_IsDigit: 'String Value']

Parameters

Required Parameters
String Value The string which should be checked.

Examples

To check whether a character is a number:

Use the [String_IsDigit] tag. The following example checks whether the character 1 is a numeric digit, returning True.

[String_IsDigit: 1]

True

Related Tags

Category Tags