title: Javascript to find if string terminates in a forward slash
body: <p>If I have a string loaded into a variable, what's the appropriate method to use to determine if the string ends in "/" forward slash?</p>
  
  <pre><code>var myString = jQuery("#myAnchorElement").attr("href");
  </code></pre>