padmapriya patruni

padmapriya patruni

  • NA
  • 74
  • 114.5k

split method of 2,1-5.

Apr 10 2014 6:55 AM
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)