title: How to check if a char is equal to an empty space?
body: <p>Here's what I've got:</p>
  
  <pre><code>private static int countNumChars(String s) {
      for(char c : s.toCharArray()){
          if (Equals(c," "))
      }
  }
  </code></pre>
  
  <p>But that code says it cannot find Symbol for that method. I remember Java having a comparer like this... Any suggestions?</p>