@Moraes86 wrote:
Dear ballardw, My final result for "observation1 variable" initially is to obtain information from each line. For example, I would like these "multiple types, including h1, H3 and N1. So, if I have this result counting as you mention. Later, I can transform it into an outcome like "h1, H3 and N1" or "N1" in case of the other result. Thanks in advance again, Daniel
And this is exactly why we request that you do not post duplicate questions. I asked a question in the OTHER thread https://communities.sas.com/t5/SAS-Programming/How-to-extract-a-specific-text-from-each-cell-from-the-same/m-p/748781
and you "answer" it here. Actually still haven't answered it because the question was about how consistent your text actually is, and how the *bleep* you are going to use the resulting variable.
... View more