title: How to remove first and last character of a string in Rust?
body: <p>I'm wondering how I can remove the first and last character of a string in Rust.</p>
  <p>Example:</p>
  <p>Input:</p>
  <p><code>&quot;Hello World&quot;</code></p>
  <p>Output:</p>
  <p><code>&quot;ello Worl&quot;</code></p>