Hi Statalist
I want to delete all the brackets and "" from the following:
I want it to be so I only have a numeric variable. I am unsure if it is possible when there are multiple numbers in one. Each number represents a diagnosis.
I want to delete all the brackets and "" from the following:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str9 diagnosis `"["99"]"' `"["99"]"' `"["5"]"' `"["5"]"' `"["9"]"' `"["5"]"' `"["5"]"' `"["9"]"' `"["5"]"' `"["5"]"' `"["5"]"' `"["5"]"' `"["5"]"' `"["5"]"' `"["5"]"' `"["6"]"' `"["9"]"' `"["6"]"' `"["6"]"' `"["6"]"' `"["6"]"' `"["6"]"' `"["6"]"' `"["6"]"' `"["6"]"' "" `"["6"]"' `"["1"]"' `"["5"]"' `"["5","6"]"' `"["6"]"' `"["6"]"' end
Comment