title: XSSFWorkbook in java
body: <p>I am using the XSSFWorkbook for reading the excel sheet data. When i entered the numbers with space after 10 digits and want to remove the space after numbers before saving. But trim(),replaceAll() - all these are not removing the spaces. How can i remove the space from the string "99999999 " after fetching using currentCell.getStringCellValue().</p>
  
  <p>tried with trim(),replaceAll() methods and also stringUtils.trim()</p>
  
  <p>phoneNumber = currentCell.getStringCellValue().replaceAll(" ","");
                              System.out.println(phoneNumber);</p>
  
  <p>Expected is :  want to remove the space after the string "99999 " as "99999"</p>
  
  <p>No error message but i am expecting "99999" but getting "99999 " after using all the mentioned methods.</p>