seq to ranges and ranges to seq
The snippet can be accessed without any authentication.
Authored by
Auke Klazema
My version of the problem given to us by Sander ter Veen on our Slack.
How to convert sequence of numbers to ranges. Ex. "1,2,5,6,7,8,11" -> "1-2,5-8,11". And the other way around.
snippetfile1.txt 2.69 KiB
Please register or sign in to comment