title: for loop to find consonants in a string
body: <p>Using a for loop, how do I go about making all consonants in a string uppercase?</p>
  
  <p>I think I should do something like this: </p>
  
  <pre><code>    String str = "fish$"     
  
      String strConsonants = "f, s, h"; 
  
      for (int x = 0; x &lt; str.length(); x++) 
      {
         if(((str.charAt(x) == (strConsonants))
         {
            System.out.print("FiSH$");
         }
      }
  </code></pre>