Java 判斷String字符串是不是中文

判斷String字符串是不是中文 String string; //須要判斷的內容 if(string.matches("[\u4E00-\u9FA5]+")){     ToastUtils.Toast(Activity_authentication.this, "內容是中文"); }else{     ToastUtils.Toast(Activity_authentication.this,
相關文章
相關標籤/搜索