IsNullOrEmpty

Purpose:

Checks whether a string is empty or 'Null'.

Parameter(s):

String          The string to be checked

Boolean       (optional) If the value is True, then spaces at the beginning and end of the string are removed. Default: False.

Return value:

Boolean

Example:

IsNullOrEmpty ("     ", True)           Result:  True