将不行打印字符至空
[代码] [Java]代码 public static String emptyNotPrintChar(String str){ if(StringUtils.isEmpty(str)){ return ""; } byte [] bts =str.getBytes(); int btsLength= bts.length; b http://www.fp1111.info yte [] newBytes = new byte[btsLength]; for (int i =0;i=0 http://www.star1111.info