JavaScript : Remove Last Character From String

added by JavaScript Kicks
7/30/2019 7:08:21 AM

215 Views

In this quick tip, you'll see how to remove last character from string using JavaScript. You can remove last character using substring and slice. Using slice Here is the code to remove last character using slice method. slice method is used on an array.


0 comments