02-15-2017 05:03 PM
I use SAS 9.4 and I have a variable like this:
I hope to change it to CS-01-0001,CS-01-0002,... In other words, I want to change the part to CS-01 if the value includes CS-02. I think the codes should be something like:
if find(study_id,"CS-02") then ??;
Does anyone can help me figure out the problem? Thank you!
Need further help from the community? Please ask a new question.