Use this function when you need to be sure the expression is of TYPE STRING.

 

Syntax:

value = IsString( expression )

 

Parameter:

Description:

expression

expression to check

value

TRUE when the expression is of TYPE STRING value.

 

Example:

VARIABLES: variableOne   TYPE: STRING
variableOne = "ABC"
 
IF ( IsString(variableOne) ) THEN
  print variableOne, " is a string."
ELSE
  print variableOne, " is NOT a string."
ENDIF

 

Results:

  This prints "ABC is a string."

 

Links:

AsFloating, AsInteger, AsSeries, AsString, IsFloating, IsInteger

See Also:

Data Groups and Types

 


Edit Time: 9/25/2017 09:09:58 AM


Topic ID#: 44

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software