Re: [問題] 新手發問....關於String

看板java作者 (shooting star)時間17年前 (2007/03/15 14:55), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/10 (看更多)
※ 引述《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
文章代碼(AID): #15-EtUxV (java)
討論串 (同標題文章)
文章代碼(AID): #15-EtUxV (java)