I have been having trouble separating the following SubjectCourse variable. The below Subject and Course columns are what I would like to achieve in the end:
* Because the Subject portion of SubjectCourse can either be 2-5 letters long, and the Course section can contain letters or periods at the end, it becomes a bit tricky.
* I'm also relatively new to STATA so any help will be greatly appreciated :-)
SubjectCourse | Subject | Course |
ACTG001C | ACTG | 001C |
ACTG01BH | ACTG | 01BH |
ACTG058. | ACTG | 058. |
V T084L | V T | 084L |
WMN072R | WMN | 072R |
Feeling confuzzled in San Francisco,
W.
0 Response to Question: Need help separating a variable
Post a Comment