jquery: remove last character from string code example
Example: remove last character from string jquery
$(document).ready(function() {
var chrt = 'wlearnsmart';
alert("Delete last character here... - " + chrt.slice(0, -1));
});
$(document).ready(function() {
var chrt = 'wlearnsmart';
alert("Delete last character here... - " + chrt.slice(0, -1));
});