ISSTRING

Purpose:

Returns 1 if the input is a string.

Syntax:

ISSTRING(val)

val

-

A series, scalar or string value to test.

Returns:

An integer, 1, if the input is a string, else 0.

Example:

a = {1};

b = {};

c = "yes";

 

isstring(a) == 0

isstring(b) == 0

isstring(c) == 1

Remarks:

ISSTRING always returns an integer.

 

ISSTR is identical to ISSTRING.

See Also:

ISARRAY

ISCOMPLEX

ISNUMERIC

ISREAL

ISSCALAR