Dear All, Suppose that I have this data set (with variable "Journal_e":
Code:
* Example generated by -dataex-. For more info, type help dataex
clear
input str63 Journal_e str15 wanted1 str20 wanted
"Shanghai Insurance Monthly"                              "SIM"     "ShInMo"        
"Journal of Shanghai University of Finance and Economics" "JoSUoFE" "JoofShUnofFiEc"
"World Agriculture"                                       "WA"      "WoAg"          
"The Journal of World Economy"                            "TJoWE"   "ThJoofWoEc"    
"Forum of World Economics & Politics"                     "FoWE&P"  "FoofWoEc&Po"   
end
I wish to extract the first one and first two letters of each word to construct `wanted1' and `wanted2'. Any suggestions? Thanks.