java script remove last char from string code example
Example: javascript remove last character in a string
var str = "Hello TecAdmin!";
var newStr = str.slice(0, -1);
var str = "Hello TecAdmin!";
var newStr = str.slice(0, -1);