title: trim() function doesn't work in IE8?
body: <p>Whenever I use the <code>trim()</code> function on a string, it works fine with Chrome and Firefox but I get an error in IE8 saying :</p>
  
  <blockquote>
    <p>Object doesn't support this property or method</p>
  </blockquote>
  
  <p>Can anyone tell me why this happens and if there is a work around?</p>