Hi all,
I wish to extract some words from the variable observation.
My goal is to extract these words (such as " H1", "N1") from the variable (observation) to the variable observation1.
Thanks all in advance,
So my data is described below:
data test2; set test2;
user
Observation
observation1
367
sample type indicated the presence of subtype H1. However,
H1
1427
sample type indicated the presence of subtype H1. However, the
H1
3046
sample type this case and indicated the presence of multiple types, including H1, H3, N1, and N2.
H1, H3 and N1
3146
sample type and indicated the presence of multiple types, including H1, H3, N1, and N2.
H1, H3, N1, and N2
8910
sample type (H,N) fluid indicated the presence of multiple types, including H1, H3 and N2.
H1, H3 and N2
9091
sample type indicated the presence of type N1.
N1
... View more