title: how to compare string to multiple char c++
body: <p>I'm trying to find out whether a string has words in it </p>
  
  <pre><code>if( mystring[i] == 'a' | 'b' | 'c' | 'd' | 'e' |)
     // do stuff but it always does stuff no matter that mystring[i] is. 
  </code></pre>
  
  <p>is always evaluating to true even if mystring[i] = a space or a period
  I tried to use strcmp but I couldn't get that working right. I want it to evaluate true
  only if it = a letter. </p>