用默认的textinputformat,但是每次都报错string index out of range 5。 string line = value.tostring(); line.substring(0,1); … 请问是什么原因?
收起
光看这两行貌似看不出错在哪里
报告相同问题?