文章详情
时间:2010-12-04 来源:zhengdong1987
public static int[] string_to_int(String str){ String[] strAry = str.split(","); int[] intAry = new int[strAry.length]; for(int i = 0; i < strAry.length; i++){ try{ intAry[i] = Integer.parseInt(strAry[i].trim()); // System.out.println(intAry[i]); }catch (NumberFormatException nbFmtExp){ intAry[i] = 0; } }
辰域智控app
网医联盟app
汇丰汇选App
1970-01-01