Difference between revisions of "ISDIGIT()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
 
==Purpose==
 
==Purpose==
 
Function to check to see if the first character in a given character expression is a digit
 
Function to check to see if the first character in a given character expression is a digit
Line 26: Line 25:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 11:29, 12 November 2009

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

Recital, Recital Server