title: How can I trim a specific character off the start & end of a string?
body: <p>How can I remove a specific character, a double-quote (<code>"</code>), appearing any number of times, from the start and end of a string?</p>
  
  <p>I had a look at <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim" rel="noreferrer"><code>string.trim()</code></a>, which trims any whitespace characters, but it's not possible to provide an optional argument with <code>"</code> as the needle to search for.</p>