I have a string variable containing licence plates, names and dates separated by / . As in 122000200106_Cheyrmen, Murauwatpur Panchayat Pacs-02/11 where 11 is 2011, in 121900200198_Shiv Nath Prasad Sah-72/2007 2007 is 2007, and in 121500100430_Dinesh Poddar-02/93 93 is 1993. How can I extract the year in YYYY format? Any suggestions would help, thanks
Related Posts with Splitting strings
MM-estimatorusing MM-estimator with MS-estimator give p value 1 for one dependent variable and same equation usi…
Plotting Interaction of Regression Results using PCSE estimatorI want to draw interaction plots to show my moderator working. I have unbalanced panel data for 20 f…
Calculating distances using latitude and longitude of two pointsIs there any Stata command that I can use and explore, to calculate the distance between two geocoor…
looping renaming variables in panel datasetHello, I am curious about how to use "foreach" or "forvalues" command in this situation below: gen …
inquire a code problem about operator operation Code: * first generation undergraduates label define q28 1 "High School or equivalent" /// …
Subscribe to:
Post Comments (Atom)
0 Response to Splitting strings
Post a Comment