Dear all,
I am wondering how to split data from a long string on the comma (like for example: Colruyt/okay,Carrefour/GB,Delhaize,Aldi/Lidl) and use the seperate answers here in a dummy. Creating the dummies works, but spitting the data keeps on giving errors. I tried doing it with strpos and split data, p(",") but I can't find the right answer.
Thanks in advance!
Related Posts with splitting string
Keep with joint conditionHi I have another issue in relation to keeping variables with a joint condition. I am trying to sele…
Problem with destroyingHi all, Since I am relatively new to Stata, I ran into a problem with my data. Variable DealValue i…
Keep with joint conditionHi I have another issue in relation to keeping variables with a joint condition. I am trying to sele…
Keep with joint conditionI have another issue in relation to keeping variables with a joint condition. I am trying to select …
Problem with destring of variableHi all, Since I am relatively new to Stata, I ran into a problem with my data. Variable DealValue i…
Subscribe to:
Post Comments (Atom)
0 Response to splitting string
Post a Comment