title: Switch statement using a String type
body: <p>I'm trying to switch a string type value which I have made static.  However I can't figure out how to put this into a switch statement I was previously using an 'if else' statement but due to the number of items I want to switch this doesn't work.</p>
  
  <p>For the if else I was using `                    </p>
  
  <pre><code>if (item.ActivityFeedType.equals("Comment"))
  </code></pre>
  
  <p>for switch I;m trying to use </p>
  
  <pre><code>case (item.ActivityFeedType.equals("Comment")):
  </code></pre>
  
  <p>Is there something I'm missing?</p>