2
Answers

split method of 2,1-5.

my question is i want to split 2, 1-5.
by using  string [] split = PagesId .Split(new Char [] {',' , '-' }, 
                               StringSplitOptions.RemoveEmptyEntries); it is showing 2,1,5; but my out put is 2,1,2,3,4,5.
please help me.
Answers (2)