VFP has EMPTY() function for that.
>>Hah? As long as SET EXACT is Off comparing any character expression to the empty string on the right would return .T.
>
>A more reliable way to check for an empty string, regardless of the setting of EXACT, is:
>
>* IF LEN(ALLTRIM(lcMyVariable)) = 0
IF <b>EMPTY</b>(lcMyVariable)
> * Process empty value
> ENDIF
>
--sb--