title: How to use jquery to get one of the class name attribute of an html element which has multiple class names assigned
body: <p>For example:</p>
  
  <pre><code>&lt;div class="home current"&gt;home&lt;/div&gt;
  </code></pre>
  
  <p>When I use <code>$(this).attr("class")</code>, it simply returns "home current".
  I want to get the "home" attribute only. How can I achieve this?</p>