Parse Text Into Numeric Vectors
Arguments
- text
string with chunks, e.g.
"1-10, 14, 16-20, 18-30"
has 4 chunks- sep
default is ",", character used to separate chunks
- connect
characters defining connection links for example "1:10" is the same as "1-10"
- sort
sort the result
- unique
extract unique elements