Difference between revisions of "ISDIGIT()"

From Lianjapedia
Jump to: navigation, search
Line 23: Line 23:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:String Data]]
 
 
[[Category:String Data Functions]]
 
[[Category:String Data Functions]]
 
[[Category:Expressions and Type Conversion]]
 
[[Category:Expressions and Type Conversion]]

Revision as of 06:38, 4 February 2013

Purpose

Function to check to see if the first character in a given character expression is a digit

Syntax

ISDIGIT(<expC>)

See Also

ISALPHA(), ISLOWER(), ISUPPER()

Description

The ISDIGIT() function will return .T. if the first character of the given character expression is a value within the range of 0 to 9, and .F. otherwise.

Example

? isdigit("9 Belmont Ave")
.T.
? isdigit("Nine Belmont Ave")
.F.

Products

Lianja, Lianja Server