/ Published in: JavaScript
Removes Last Character from a String
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function removeLast(string){ string = string.slice(0,string.length-1); return string; }