Difference between revisions of "IS STRING()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
Line 4: Line 4:
  
 
==Syntax==
 
==Syntax==
IS_FLOAT(<exp>)
+
IS_STRING(<exp>)
  
  

Latest revision as of 15:00, 14 June 2011

Purpose

Function to check whether an expression is a character string


Syntax

IS_STRING(<exp>)


See Also

IS_ARRAY(), IS_FLOAT(), IS_INT(), IS_OBJECT(), ISALPHA(), ISDIGIT(), ISLOWER(), ISUPPER(), LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, TYPE()


Description

The IS_STRING() function returns .T. (true) if the specified expression is a character string value, otherwise .F. (false).


Example

cVAR = "Hello"
? is_string(cVAR)
.T.
? is_string("World")
.T.
? is_string(tostring(date()))
.T.


Products

Recital, Recital Server