there is a variable every observation of which includes more than two options differently. I want to split this variable into as many variable as possible of that every observation options. There is no separator between options, and also some observations are empty.. I used this command (split Q45, parse("")gen (sim_)), It creates only one variable as the original one. you can find the sample of variable below, can anyone please help me?
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str24 Q45 "abcd " "acde " "" "ace " "" "c " "ce " "abcde " "bcd " "cd " "" "" "c " "ace " "" "cd " "acde " "c " "c " "abcd " end
Comment