Java. HSSF. Apache-poi. How to modificate code
问题 My data is stored in a format(look down): [-] means a blank cell, on the right may be only 10 columns, after the space. Something like this: [string0] [-] [string1] [string2] [string3] .. [string10] [-] How to change this code for: 1) obtain only [string0] 2) obtain only [string1] [string2] [string3] .. [string10] [-] try { FileInputStream file = new FileInputStream("C:\\Users\\student3\\"+sfilename+".xls"); //Get the workbook instance for XLS file HSSFWorkbook workbook = new HSSFWorkbook