中文繁体unicode 范围
String temp = "我是XXXkevin很愛很愛繁體字の"; for(int i=0;i<temp.length();i++){ char c = temp.charAt(i); if(c >= '\u4E00' && c<='\u9FA5'){ System.out.println("true"); }else{ System.out.println("false"); } }
String temp = "我是XXXkevin很愛很愛繁體字の"; for(int i=0;i<temp.length();i++){ char c = temp.charAt(i); if(c >= '\u4E00' && c<='\u9FA5'){ System.out.println("true"); }else{ System.out.println("false"); } }
暂无评论。
评论功能维护中,当前仅展示历史评论。