js remove last character in string





In this programming tutorial we will learn how to remove last character of a string in javascript. It can be easily done by using some built-in javascript functions. I will discuss two methods to achieve the goal. By using JavaScript replace function we can replace or remove special characters in string.JAVA How to replace last character in a string - Продолжительность: 1:58 SIMPLECODE 534 просмотра. Example:How to delete last character from a string using javascript/jQuery?