title: How to compare one character to ALL characters of a String
body: <p>I have a string that will be different every time you run the code. I want to make an <code>if</code> statement that compares <em>one</em> char, to <em>every</em> individual character of the string. For example, if I were to compare 'c' to cat, it will return that there is a 'c'. BUT If I compared it to orange, it would return that there is not any 'c'. I can't figure out how to do this because the string will change length every time so I cannot simply do c = a &amp;&amp; b &amp;&amp; c because there could be a d.</p>