How to check whether the data has two, three and four values in it separated by( (,) and eliminated it?
For example when I retrieve a primary key from the database. Sometime, it has
Individual value --> (1234)
two values --> (1234,1234)
three value --> (1234,1234,1234)
Four values --> (1234,1234,1234,1234)
well, I am supposed to proceed with the only individual value and eliminate the rest of the things?
Can somebody please help how to develop the logic to write the function?
Thanks everyone !