System Functions

NUL( )

Test String for Empty/Null

Format

NUL(string[,ERR=stmtref])

Where: 

string

String data to be tested if null.

stmtref

Program line number or label to which to transfer control.

Description

The NUL function will return a non-zero (TRUE) value if the string passed has a length of zero or consists solely of space characters. It will return a zero (FALSE) value if the string contains anything other than spaces.