Integer.parseInt(String.valueOf( pId.charAt())) 我只會char轉string轉int ... 你想'1' 轉 成1, 還是想取其character 的值(在unicode 編碼的值)?
www.javaworld.com.tw