For example, I want a string "1:00 pm 2:00 pm 3:00 pm" to turn into an array of a string of ["1:00 pm", "2:00 pm", "3:00 pm"]
I've tried using split. But it would produce ["1:00", "pm", "2:00", "pm", "3:00", "pm"]. How would I split every other space? Thank you.