I have a character column, which can be either null or have an all Upercase Word.
The problem is when I go to select Column <> "", it selects some lines that in my eyes are null.
I already tried the compress, strip and trim functions, but it did not work.
Can you please help?
data test;
string 1 = "ABCDEF";
string 2 = ""
string 3 = " "
Answer provided here.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.