Answers for "trim string after - in jquery"

0

trim string after - in jquery

var str = "example.com/hello#item1".split('#')[0];
Posted by: Guest on April-19-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language