I have a comma-separated string which I collect from a txt-file. I want to append values to this string, but not if the value already is in the string. I have now converted it to an array with Split, but I don't know if that will simplify the problem. Furthermore I don't know how long the string/array is (how many values in it), and the values that is inserted and "double-checked" is supposed to be virtually anything.
Which way to go and how?