isblank Function

Checks to see if an argument contains a blank, empty value. When the argument value is blank, the function returns true. Otherwise, it returns false.

Category: Information and Conversion
Returned data type: Integer
Note: The returned value is a Boolean value.

Syntax

<boolean>isblank(<argvalue>)

Required Argument

argvalue

is a string

Details

The isblank function takes the following argument types: string.

Example

integer x

string y

date z

string error_message1

string error_message2

string error_message3

 

y="Hello"

 

if(isblank(x) )

   error_message1 = "Integer x is blank"

else

   error_message1= "Integer x is not blank"

 

if( isblank(y) )

   error_message2 =" String y value is blank"

else

   error_message2 =" String y value is not blank"

 

if( isblank(z) )

   error_message3 =" Date z value is blank"

else

   error_message3 =" Date z value is not blank"