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
Granger test and var (xtvar, prHi everyone, I am encountering a few problems when I tried to run var codes to be followed by a Gra…
Esttab problem with interaction fixed effectHello, I am using a survey dataset (the World Values Survey) and trying out the following code in S…
use loop (e.g., foreach) across two vars to derive a third var (30 iterations)Hello All, I have 30 pairs of variables from which I need to derive 30 new variables. I'd like to u…
GSEM in STATAHello. I'm a new user of STATA and struggle to get thinks done. I want to build a GSEM model where t…
PlottingThere are two groups- X and Y. X has n1 observtion, Y has n2 observation. Each observation of X and …
Subscribe to:
Post Comments (Atom)
0 Response to splitting string
Post a Comment