IsString function

Top  Previous  Next

Returns TRUE if the expression is a string. Use IsString  if you want to be sure that a value is a string.

 

Syntax

 

value = IsString( expression )

 

Parameters

expression

 

the expression to check

 

 

 

returns

 

true if the expression is a string value

 

Examples

The following examples illustrate the use of the IsString  function:

 

variableOne = "ABC"

 

IF ( IsString(variableOne) ) THEN

   print variableOne, " is a string."

ELSE

   print variableOne, " is NOT a string."

ENDIF

 

' This prints "ABC is a string."