I am new at programming so it would be help if the answers very simple, but in Javascript I have a variable called "time". It might be "10:36 P.M." for example, and I want to split it along the colon and the space, so that it becomes the three different variables: 10, 36, and P.M.
I know how to cut off the end or beginning of variables, but I need something that will save all of the parts as a separate variable.