/ Published in: JavaScript
Removes Last Character from a String
Expand |
Embed | Plain Text
function removeLast(string){ string = string.slice(0,string.length-1); return string; }
You need to login to post a comment.
Removes Last Character from a String
function removeLast(string){ string = string.slice(0,string.length-1); return string; }
You need to login to post a comment.