Removing last character using javascript – substring, substr, slice methods

javascript-slice-substr-substring

In this post, I would like to present you with 3 different 1-line scripts that are used a lot. These snippets are used to remove the last character from a string. When may you need this? You may be building

Read More Removing last character using javascript – substring, substr, slice methods