I have a whole bunch of arrays, each with integers as strings in slots 1 and 3 through 9, but in each array slot 2 has a time in it (as a string), in minutes:seconds. A sample array would look like this:
["1", "11:49", "345", "26", "123456", "23", "1", "0", "65"]
What I want to do is convert everything except the time into integers, and convert the time into an integer number of seconds. How would I go about this?