<title>jQuery Delete Last Character From String Using slice()</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
$(document).ready(function(){
$('#btnRemoveFirstSlice').click(function(){
var myTextSlice = $('.MyStringSlice').text();
var RemoveFirstCharSlice = myTextSlice.slice(0, -1);
$('.removedStringSlice').html('<strong>The new string is: </strong>'+RemoveFirstCharSlice);
<h2>jQuery Delete Last Character From String Using slice()</h2>
<p class="MyStringSlice">This is my string@</p>
<button type="button" id="btnRemoveFirstSlice" class="btn btn-primary">Delete First Character</button>
<p class="removedStringSlice"></p>