Use MCStringIsEmpty() rather than MCStringGetLength() == 0