看板 java 關於我們 聯絡資訊
※ 引述《sorryla (Mr.東)》之銘言: : 我想請問一下各位大大 : 在java之中如何從一個String裡抽出個別的字元來使用? : 初學java就遇到的瓶頸 要寫作業用 : 卻發現沒辦法跟C語言一樣直接取用~"~ According to Java API: public char charAt(int index) Returns the char value at the specified index. An index ranges from 0 to length() - 1. The first char value of the sequence is at index 0, the next at index 1, and so on, as for array indexing. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.96.181