Difference between revisions of "ISDIGIT()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
 
  
 
==Purpose==
 
==Purpose==
Line 32: Line 31:
 
[[Category:String Data]]
 
[[Category:String Data]]
 
[[Category:String Data Functions]]
 
[[Category:String Data Functions]]
 +
[[Category:Expressions and Type Conversion]]
 +
[[Category:Expressions and Type Conversion Functions]]

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 Database Server, Recital Mirage Server, Recital Terminal Developer