I would like to split the someMOD column by ',' and then ';' ...then remove the duplicated values and put the string back together with a comma.
I think first we will use unlist with strsplit and then again with the semi-colon separator, then remove duplicates but how to put it back with commas?

I should mention this could be combined into fewer steps to avoid repeating the lapply's, but wanted to follow the steps in the original question (the main problem in which was the initial use of unlist).