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
Exporting a cross table using three string variables to a CSV fileDear Statalisters,
How do I export a result table using three string variables ("region", "cat", "fi…
Create beeswarm and beanplotHi all,
I would like to create a beeswarm plot and a beanplot. My dataset contains a numeric variab…
Stata MP in Microsoft Terminal Server EnvironmentHello, would anyone be able to offer any white paper or solutions articles on deploying Stata MP in …
Coefplot how to change bar colors?My question is how can I change the bar colors when using
HTML Code:
coefplot
I tried this:
HTML …
Mediation Analysis in Difference-in-Differences (DiD)Hello,
I am trying to test mediation using difference-in-differences. My outcome variable is compan…
Subscribe to:
Post Comments (Atom)
0 Response to splitting string
Post a Comment