Here is an example of an array:
["ds","1:0,1,2,3,4","2:0,2,3,4,5","3:0,6,7,8,9"]
I am looking to extract elements that meet the following criteria:
[1:0,2:0,3:0]
(only the first element of each string in the array excluding the ds
element)
Any suggestions for a JavaScript solution?