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
npregress and Bandwidth selection with Bootstrap CIDear all, I have a question that is both technical (Stata) and theoretical. Based on the help file f…
Expanding backwardsHello, Im working on a dataset and want to expand my dataset backwards for 2 months extra. The data…
unsuccessful mergeHello everyone! I am trying to merge two data files from different sources using the command merge …
How to do an analysis of transition frequencies in a placebo controlled study?Hi everyone, I want to do an analysis of transition frequencies in a placebo controlled sleep study…
Exporting/displaying boottest resultsHi everyone, I am running a difference in differences regression with Panel data on Stata version 1…
Subscribe to:
Post Comments (Atom)
0 Response to Splitting strings
Post a Comment