isText


Contents

Description

This function is used to determine whether an input is a text.

Syntax

int isText(Str$ )

Parameters

Str$

The value you want to check.

Return

Return 1 if the input is a text, else 0.

Example

string str1$=abc;
isText(str1$)=; 
//should return 1

string str2$=123;
isText(str2$)=; 
//should return 0

//to check if col(B)[1] is a text
isText(col(B)[1]$)=;

See Also

NA, ISNA