Hi

I want to drop all observations which don't have date in 2 string variables:

for example
if A = empty and B=empty --> drop
if A or B != empty --> dont drop

I tried drop if A == "" and B== "" but it states a invalid and operation

i cant include a dataex because the characters in one of the variables are too long.

Thanks in advance!