title: Length of string WITHOUT spaces (C#)
body: <p>Quick little question...</p>
  
  <p>I need to count the length of a string, but WITHOUT the spaces inside of it.
  E.g. for a string like "I am Bob", <code>string.Length</code> would return 8 (6 letters + 2 spaces).</p>
  
  <p>I need a method, or something, to give me the length (or number of) just the letters (6 in the case of "I am Bob")</p>
  
  <p>I have tried the following</p>
  
  <pre><code>s.Replace (" ", "");
  s.Replace (" ", null);
  s.Replace (" ", string.empty);
  </code></pre>
  
  <p>to try and get "IamBob", which I did, but it didn't solve my problem because it still counted "" as a character.</p>
  
  <p>Any help?</p>