title: Which is more faster? trim() or RegEx?
body: <p>Let's imagine that we have a string we want to check on validity.</p>
  <p>Valid string is a string which have at least one non-whitespace symbol and which in not fully whitespaced. (i mean something like 5 whitespaces in a row and nothing else).</p>
  <p>I have a two choices to check string validity: use a string.trim() method or use a custom regular expression for that.</p>
  <p>I write a very performance dependent application, where every ms is can be a high cost.</p>
  <p>So, the question itself: which is faster? regex or string.trim()</p>