Microsoft Interview Question

Split a string that has spaces and commas