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
max and if togetherI want to generate a binary variable name “eldest” as follows: if a person is the most aged person …
Make zero line thickerHi everyone, I plotted some figures in Stata as below. I wonder if there's any command or option to…
Convert all elements of a matrix into respective inverse valuesHi everyone, I am having a problem with converting all elements of a matrix to their respective inv…
Nearmrg: Please helpHi everyone, I am hoping someone can assist me with an issue I am having with nearmrg. I have been w…
Within Variation ProgrammingI am attempting to learn how to program Stata and want to calculate within variation as individuals …
Subscribe to:
Post Comments (Atom)
0 Response to Divide the string including chinese into two columns
Post a Comment