I have a very long character variable and want to create a binary variable 0/1 if any of the specific words is found. As shown in the following figure, I have the Diagnosis variable and want to create the Hypertension variable if the former contains any of he words in red font.
The early bird rate has been extended! Register by March 18 for just $695 - $100 off the standard rate.
Check out the agenda and get ready for a jam-packed event featuring workshops, super demos, breakout sessions, roundtables, inspiring keynotes and incredible networking events.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.