Hi Stata Forum,
i have the following problem: I have a large dataset and i need to list all variables that are not empty. They are not string variables, so i can not use the list var1 if strpos(var1, "XXX") syntax. An example would be the following: I have var1 with values of 2; 3 and also an empty cell. How can i get a list of all non-empty values (here it would be 2 and 3)?
Thank you very much for your help!
Best regards!
i have the following problem: I have a large dataset and i need to list all variables that are not empty. They are not string variables, so i can not use the list var1 if strpos(var1, "XXX") syntax. An example would be the following: I have var1 with values of 2; 3 and also an empty cell. How can i get a list of all non-empty values (here it would be 2 and 3)?
Thank you very much for your help!
Best regards!
Comment