title: Know if a string is empty or just contains spaces
body: <p>I know I can use the following to check if a string is empty in JavaScript:</p>
  
  <pre><code> if(Message != '')
  </code></pre>
  
  <p>How would I check to see if a string 'Message' in this case - is empty and doesn't contain a number of spaces. eg:</p>
  
  <pre><code> '    '
  </code></pre>
  
  <p>would I need to use regular expressions?</p>