title: How can I found out if a string exists in my htmlDoc using JSoup?
body: <p>I'd like a smiley face if the class "film-profile" exists in my html document</p>
  
  <p>Ive tried putting in simple text like " " but when I put a class name in, it still gives me the :( even though that class does exist.</p>
  
  <p>Here is the code that I am using at the moment</p>
  
  <pre><code>if(htmlDoc.text().contains("film-profile")) {
          System.out.println(":)");
  } else {
          System.out.println(":(");
  }
  </code></pre>
  
  <p>Thank you in Advance!</p>