Adds and removes elements from a comma-delimited string.