title: In java when converting a char array with spaces to a String how to remove the spaces in that String?
body: <pre><code>String output = new String(encryptText);
  output = output.replaceAll("\\s", "");
  return output;
  </code></pre>
  
  <p><code>replaceAll("\\s", "");</code> doesn't work</p>