I have a field in my database that has a potential value of x,y,z. I am looking for a way to go through and take out the x y and z and store them into separate strings. The problem is sometimes there is one value, other times two and then other times three. It can have 0-3 values. 1: x 2: x,y 3: x,y,z Can someone please help.