title: Cut off last characters from html paragraph with JS
body: <p>How to cut off last 20 characters from a normal html paragraph with a classname which contains two words? For instance <code>&lt;p class="sentence slice"&gt;Last twenty characters have to be chopped off!!!&lt;/p&gt;</code></p>
  
  <p>I know there's a slice method in JS <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/slice</a> but how to implement this onto the website?</p>