Microsoft interview question

Split a string that has spaces and commas