Loop through each comma-separated value.