Split string by spaces and quotation marks.