How to split a string in JavaScript with the \",\" as seperator?
,
var splitString = yourstring.split(',');
See split
var str = "test,test1,test2"; var arrStr = str.split(','); var arrLength = arrStr.length; //returns 3