Answers for "slice the last 5 chars js"

75

js remove last character

let str = "Hello Worlds";
str = str.slice(0, -1);
Posted by: Guest on January-16-2020
0

javascript remove last charcter from string

maram
Posted by: Guest on April-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language