merge strings in jquery

merge strings in jquery

hi ,i am trying to display similar strings in an array in a singel string seperated with "/".
 
for example i hava an array  like
 
 var  arr ={  sportrs/ football,sports/basketball,sprots/baseball, news/bbc, news/cnn}
 
 
i want to display arr as   : - sport>football/basketball/baseball 
                                            news > bbc/cnn.   
 
any help would be greatly apreciated.
thank you.