〆Thames、ヽ 发表于 2015-4-13 16:34 
你可以先用tab来检查有哪些是nonnumeric,如:
tab 变量名 if regexm(变量名, “[^0-9 .]“)
您好,我使用后报错,求赐教
tab gdpper if regexm( gdpper, “[^0-9 .]“)
“ invalid name
r(198);
destring gdpper , ignore(" ") replace
gdpper contains characters not specified in ignore(); no replace
. destring gdpper , ignore(" ,") replace
gdpper contains characters not specified in ignore(); no replace