dear sir:
I want to know how to divide the following strings into two columns, one for Chinese characters and one for numbers. thank you in advance?
Example generated by -dataex-. To install: ssc install dataex
clear
input str18 var1
"北京1,520,228.3"
"天津391,875.1"
"河北347,574.0"
"山西7,058.6"
"内蒙古59,684.1"
"辽宁544,727.2"
"吉林52,199.7"
"黑龙江113,987.5"
end
Related Posts with Divide the string including chinese into two columns
Merging when one data set has 2 entries per householdHi Statalist! I have a question about merging. I have household level data of farmers and their ag…
FE- 0/1 ProblemHi there! I have a panel dataset. I’m doing a Fixed Effects Regression. I have this central variabl…
Generate new variable with ifHello, Currently I have a database with the donators and theirs giving in UK. I had create 4 column…
Inquire about .regress y if x == 0I saw a code which is kind of like Code: regress y if x == 0 Both x and y are dummy variables. What…
Use another dataset to rename variable based on conditionHello, I'm new to Stata (and new to this forum ) and I'm trying to do something probably quite basi…
Subscribe to:
Post Comments (Atom)
0 Response to Divide the string including chinese into two columns
Post a Comment