口渴-夏日的蚊子
string - Java StringTokenizer, empty null tokens - Stack Overflow 口渴 爸爸把兒子哄上床後,回到自己的臥室準備睡覺。“爸爸!”兒子叫道。“什麼事兒?” “我口渴,給我拿杯水好嗎?” “你剛才不是喝過了嘛?快睡覺,我已經關燈啦!” 5分鐘後I am trying to split a string into 29 tokens..... stringtokenizer won't return null tokens. I tried string.split, but I believe I am doing something wrong: String [] strings = line.split(",", 29); ... If you want empty tokens to be retained string.split()...
全文閱讀