Hello Statalist
This is my first post, so please excuse any misconception from my side.
I currently have string variable that explains conditions, while also stating the condition in medical terms. I would like to remove all the textand only keep the stated condition i medical terms for later analysis. The observations could look something like this:
My goal is to only keep the LO123 part of the observations.
Any ideas would be appreciated
Best regards
- Mads
This is my first post, so please excuse any misconception from my side.
I currently have string variable that explains conditions, while also stating the condition in medical terms. I would like to remove all the textand only keep the stated condition i medical terms for later analysis. The observations could look something like this:
LO121 - text |
LO121 - text |
text (LO131-LO135) - text |
My goal is to only keep the LO123 part of the observations.
Any ideas would be appreciated
Best regards
- Mads
Comment