2
Answers

Find the Consecutive numbers of given string

 I need find the consecutive numbers of a given string 
 
Ex: "1,2,3,4,5,7,8,9" 
 
answer should return like 1,2,3,4,5 and 7,8,9  count : 2
 
Any one pls provide the solution as soon as possible. 
Answers (2)