I have used split function to split the string in javascript. which is as,
test= event_display1.split("#");
This works perfectly and giving me output as,
Event Name : test1
Location : test, test, test
,
Event Name : test2
Location : test, test, test
,
But i want my output as
Event Name : test1
Location : test, test, test
Event Name : test2
Location : test, test, test
When i split the value it set comma after the character which i have used as split character.
How can i remove this comma from my output value?