title: Remove WhiteSpace Chars from String instance
body: <p>is there another way how to remove WhiteSpace Char(s) from String </p>
  
  <p>1) other as I know</p>
  
  <pre><code>myString.trim()
  
  Pattern.compile("\\s");
  </code></pre>
  
  <p>2) is there another reason(s) search/look for an another/different method as I using </p>