Empty

combit List & Label Designer

combit List & Label

Empty

Purpose:

Evaluates if a string is empty. If it is empty, "True� will be the return value, otherwise "False�. Useful, for example, to determine if the field "ADDRESS� is empty, and if it is, in combination with the IF-THEN-ELSE condition cond(), either print the contents of the field "ADDRESS� or "POBOX�.

The third parameter allows the removal of leading and trailing spaces. If this is evaluated as "True�, a string consisting only of multiple spaces will be recognized as empty.

Parameter:

String

Boolean           (optional)

Return value:

Boolean

Example:

Empty("xyz")    Result: False

Empty("")                 Result: True