JavaScript and comma separated string

We can create a single variable that contains string data, which this string data holds several data separated by comma. For example, I create this string: “Andy,New York,28,Journalist”. This single string contains 4 data separated by comma. Now the problem is how to extract this...