Tutorial Remove the Last Character from a String
by Unknown in javascript , Tutorial 0
var origString = 'Happy Dance7';
var trimmedString = origString.substring(0, origString.length-1);
console.log(trimmedString);
// 'Happy Dance'
by Unknown in javascript , Tutorial 0
var origString = 'Happy Dance7';
var trimmedString = origString.substring(0, origString.length-1);
console.log(trimmedString);
// 'Happy Dance'