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.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Priyanka JainRank #356 · 7K reputationPosted Jul 14, 2019, 8:39 AM EDT
Siddhartha SharmaRank #2,254 · 626 reputationPosted Jul 12, 2019, 7:04 AM EDT