String to Array of Strings
You are given a string containing some sentences terminated by
... with or without trailing spaces as an argument. Split the sentences and return an array of strings, where each element is a single sentence.
The terminating characters and trailing spaces should be omitted from the strings in the returned array.
- Must return an array of strings
solve("One. Two. Three... Four.") > ["One","Two","Three","Four"]
solve("Two birds sat.Which one had more fun?") > ["Two birds sat", "Which one had more fun?"]