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
graph with range in x axisDear All, Suppose that I have this code Code: sysuse auto, clear twoway (scatter mpg weight if weig…
Reduced sample size in time trends analysisHi, I have an indicator variable EventIndicator, which takes the value 1 if a firm is headquartered …
Moving vertical axis in graph hbarHi, I'm trying to plot a variable called "teleworking rate" by region. So my data looks like: tw_r…
How to create new variables using observations from other variable but observations contain spaces?I tried to use the following command to create new variables using observations from a variable "ind…
Using rangestat when there are gaps in the date identifierHi, I am trying to use rangestat to perform rolling regressions over a data panel. My data correspo…
Subscribe to:
Post Comments (Atom)
0 Response to Divide the string including chinese into two columns
Post a Comment