in reply to split but not consumed
... If the PATTERN contains parentheses, additional list elements are created from each matching substring in the delimiter.The manual never forgets :)produces the list valuesplit(/([,-])/, "1-10,20", 3);...(1, '-', 10, ',', 20)
|
|---|