I have this code:

"12:30-14:40".split("-")

Its output is:

["12:30", "14:40"]

I need to have and array like this:

[["12","30"],["14","40"]]

How can I do something equivalent of a cascaded split on the same line to get the second result?