I have following string :
var str = '15156,"ABALONE, FRIED",60.1,189,19.63,,,,';
i want to split it in the following way :-
[15156, "ABALONE, FRIED", 60.1, 189, 19.63, null, null, null]
i have try this:-
var strArray = str.split(",");
output:-
[15156, "ABALONE", "FRIED", 60.1, 189, 19.63]
How can i get this using javascript's split function or any other way.