Answers for "how to cut a string uptil specific character javascript"

0

how to cut a string uptil specific character javascript

var str = "Abc: Lorem ipsum sit amet";
str = str.split(":").pop();
 // OR
str = str.split(":").shift();
Posted by: Guest on February-27-2021

Code answers related to "how to cut a string uptil specific character javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language