Remove last character of Javascript


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. myStr = myStr.slice(0, -1)

URL: http://www.ozzu.com/programming-forum/remove-last-character-t46875.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.