thanks a lot for your help, anyway how can i include the remove duplicate number function in your code, example: the string which contain:"10,,11,34,56,,78,99,11,35,11" will display as:
10
11
34
56
78
99
35
which has remove two duplicate number 11. Can it be done?