Answers for "how to remove a spesic string from a string js"

2

remove word from string javascript

var str = "delete-this"
str.replace('delete-','') // str = "this"
Posted by: Guest on July-18-2021
1

how to cut a string in js

let str = "12345.00";
str = str.substring(0, str.length - 1);
console.log(str);
 Run code snippetHide results
Posted by: Guest on January-11-2022

Code answers related to "how to remove a spesic string from a string js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language